lkml.org 
[lkml]   [2018]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH][btrfs-next] btrfs: remove redundant check on ret and goto
On Fri, Jan 12, 2018 at 04:52:58PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> The check for a non-zero ret is redundant as the goto will jump to
> the very next statement anyway. Remove this extraneous code.
>
> Detected by CoverityScan, CID#1463784 ("Identical code for different
> branches")
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Added to next, thanks.

\
 
 \ /
  Last update: 2018-02-06 15:47    [W:0.127 / U:0.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site