Re: [PATCH] net: amd8111e: remove redundant duplicated if statement
From: David Miller
Date: Wed Apr 25 2018 - 14:27:44 EST
From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Wed, 25 Apr 2018 11:31:13 +0100
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> There are two identical nested if statements, the second is redundant
> and can be removed. Also clean up white space formatting.
>
> Cleans up cppcheck warning:
> drivers/net/ethernet/amd/amd8111e.c:1080: (warning) Identical inner 'if'
> condition is always true.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Applied.