Re: [PATCH] net: amd8111e: remove redundant duplicated if statement

2018-04-25 Thread David Miller
From: Colin King Date: Wed, 25 Apr 2018 11:31:13 +0100 > From: Colin Ian King > > 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: (warni

[PATCH] net: amd8111e: remove redundant duplicated if statement

2018-04-25 Thread Colin King
From: Colin Ian King 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: Coli