lkml.org 
[lkml]   [2018]   [Jun]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [alsa-devel] [PATCH] ALSA: usb-audio: remove redundant check on err
On Mon, 04 Jun 2018 13:49:19 +0200,
Colin King wrote:
>
> From: Colin Ian King <colin.king@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@canonical.com>

Applied, thanks.


Takashi

\
 
 \ /
  Last update: 2018-06-04 13:53    [W:0.041 / U:0.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site