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

From: Takashi Iwai
Date: Mon Jun 04 2018 - 07:53:23 EST


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

Applied, thanks.


Takashi