]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita1dfda7f653bac8b410a704f665e9aad4839a382
tree15b49db8568c4dda557ca82f1f1e350a48bc4764
parented22c75c9ab6a2c97453c585323434053bfef29c
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