From: akpm@linux-foundation.org
To: davem@davemloft.net
Cc: netdev@vger.kernel.org, akpm@linux-foundation.org, julia@diku.dk,
chas@cmf.nrl.navy.mil, richard.genoud@gmail.com
Subject: [patch 5/8] net/atm/lec.c: drop code after return
Date: Mon, 22 Sep 2008 14:50:41 -0700 [thread overview]
Message-ID: <200809222150.m8MLofR7031869@imap1.linux-foundation.org> (raw)
From: Julia Lawall <julia@diku.dk>
The break after the return serves no purpose.
Signed-off-by: Julia Lawall <julia@diku.dk>
Reviewed-by: Richard Genoud <richard.genoud@gmail.com>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
net/atm/lec.c | 1 -
1 file changed, 1 deletion(-)
diff -puN net/atm/lec.c~net-atm-lecc-drop-code-after-return net/atm/lec.c
--- a/net/atm/lec.c~net-atm-lecc-drop-code-after-return
+++ a/net/atm/lec.c
@@ -1931,7 +1931,6 @@ static struct atm_vcc *lec_arp_resolve(s
switch (priv->lane_version) {
case 1:
return priv->mcast_vcc;
- break;
case 2: /* LANE2 wants arp for multicast addresses */
if (!compare_ether_addr(mac_to_find, bus_mac))
return priv->mcast_vcc;
_
next reply other threads:[~2008-09-22 21:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-22 21:50 akpm [this message]
2008-09-23 2:24 ` [patch 5/8] net/atm/lec.c: drop code after return David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200809222150.m8MLofR7031869@imap1.linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=chas@cmf.nrl.navy.mil \
--cc=davem@davemloft.net \
--cc=julia@diku.dk \
--cc=netdev@vger.kernel.org \
--cc=richard.genoud@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).