summaryrefslogtreecommitdiffstats
path: root/sound/usb/mixer_quirks.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2018-05-27 15:18:22 +0200
committerTakashi Iwai <tiwai@suse.de>2018-05-28 14:52:40 +0200
commitf25ecf8f987d51be388e53de7b9e0e5815acc10b (patch)
treec2f6f30e781f1971686e19a9978eff9974957d97 /sound/usb/mixer_quirks.c
parentALSA: usb-audio: Move autoresume call at the end of open (diff)
downloadlinux-f25ecf8f987d51be388e53de7b9e0e5815acc10b.tar.xz
linux-f25ecf8f987d51be388e53de7b9e0e5815acc10b.zip
ALSA: usb-audio: Follow standard coding style
Avoid if ((err = ...) style and expand to multiple lines instead. No change in the end result, but just the beautification. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer_quirks.c')
-rw-r--r--sound/usb/mixer_quirks.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c
index 1b94387e18b6..4149543f613e 100644
--- a/sound/usb/mixer_quirks.c
+++ b/sound/usb/mixer_quirks.c
@@ -1824,7 +1824,8 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer)
int err = 0;
struct snd_info_entry *entry;
- if ((err = snd_usb_soundblaster_remote_init(mixer)) < 0)
+ err = snd_usb_soundblaster_remote_init(mixer);
+ if (err < 0)
return err;
switch (mixer->chip->usb_id) {