Re: [PATCH][-next] net: macb: remove extraneous return when MACB_EXT_DESC is defined

From: David Miller
Date: Wed Jul 05 2017 - 04:10:15 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Tue, 4 Jul 2017 16:09:59 +0100

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> When macro MACB_EXT_DESC is defined we end up with two identical
> return statements and just one is sufficient. Remove the extra
> return.
>
> Detected by CoverityScan, CID#1449361 ("Structurally dead code")
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied, thanks.