diff options
author | Takashi Iwai <tiwai@suse.de> | 2018-05-27 15:18:22 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-05-28 14:52:40 +0200 |
commit | f25ecf8f987d51be388e53de7b9e0e5815acc10b (patch) | |
tree | c2f6f30e781f1971686e19a9978eff9974957d97 /sound/usb/mixer_quirks.c | |
parent | e92be8146caf3ecd76f1211725d9ba47c239a77b (diff) | |
download | linux-f25ecf8f987d51be388e53de7b9e0e5815acc10b.tar.bz2 |
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.c | 3 |
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) { |