Message ID | 200809222150.m8MLofR7031869@imap1.linux-foundation.org |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
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 -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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;