Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1681357

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

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH][-next] net: macb: remove extraneous return when MACB_EXT_DESC is defined
Date 2017-07-05 10:20 +0200
Message-ID <tZNHr-3KF-5@gated-at.bofh.it> (permalink)
References <tZxMl-1ET-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

> From: Colin Ian King <colin.king@canonical.com>
> 
> 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@canonical.com>

Applied, thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH][-next] net: macb: remove extraneous return when MACB_EXT_DESC is defined Colin King <colin.king@canonical.com> - 2017-07-04 17:20 +0200
  Re: [PATCH][-next] net: macb: remove extraneous return when  MACB_EXT_DESC is defined Nicolas Ferre <nicolas.ferre@microchip.com> - 2017-07-05 10:10 +0200
  Re: [PATCH][-next] net: macb: remove extraneous return when  MACB_EXT_DESC is defined David Miller <davem@davemloft.net> - 2017-07-05 10:20 +0200

csiph-web