[alsa-devel] [PATCH] ALSA: usb-audio: remove redundant check on err

Takashi Iwai tiwai at suse.de
Mon Jun 4 13:53:18 CEST 2018


On Mon, 04 Jun 2018 13:49:19 +0200,
Colin King wrote:
> 
> From: Colin Ian King <colin.king at canonical.com>
> 
> 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 at canonical.com>

Applied, thanks.


Takashi


More information about the Alsa-devel mailing list