netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch 5/8] net/atm/lec.c: drop code after return
@ 2008-09-22 21:50 akpm
  2008-09-23  2:24 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: akpm @ 2008-09-22 21:50 UTC (permalink / raw)
  To: davem; +Cc: netdev, akpm, julia, chas, richard.genoud

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;
_

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 5/8] net/atm/lec.c: drop code after return
  2008-09-22 21:50 [patch 5/8] net/atm/lec.c: drop code after return akpm
@ 2008-09-23  2:24 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2008-09-23  2:24 UTC (permalink / raw)
  To: akpm; +Cc: netdev, julia, chas, richard.genoud

From: akpm@linux-foundation.org
Date: Mon, 22 Sep 2008 14:50:41 -0700

> 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>
> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

Applied to net-next-2.6

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-23  2:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-22 21:50 [patch 5/8] net/atm/lec.c: drop code after return akpm
2008-09-23  2:24 ` David Miller

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).