ALSA: usb-audio: remove redundant check on err
authorColin Ian King <colin.king@canonical.com>
Mon, 4 Jun 2018 11:49:19 +0000 (12:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 4 Jun 2018 11:52:47 +0000 (13:52 +0200)
commit7a6fc28b162bc0e48d8cef72be8226e11300317b
tree15b49db8568c4dda557ca82f1f1e350a48bc4764
parentcdbc653a04ee692a7105a96e8dd6055d9971d45c
ALSA: usb-audio: remove redundant check on err

The check on err is redundant as both the true and false paths
end up on a break statement. Remove the redundant check.

Detected by CoverityScan, CID#1268773 ("Identical code for different
branches")

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c