net/atm/lec.c: drop code after return

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>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Julia Lawall 2008-09-22 19:24:45 -07:00 committed by David S. Miller
parent bb55b327cb
commit 5e687220a0

View File

@ -1931,7 +1931,6 @@ static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv,
switch (priv->lane_version) { switch (priv->lane_version) {
case 1: case 1:
return priv->mcast_vcc; return priv->mcast_vcc;
break;
case 2: /* LANE2 wants arp for multicast addresses */ case 2: /* LANE2 wants arp for multicast addresses */
if (!compare_ether_addr(mac_to_find, bus_mac)) if (!compare_ether_addr(mac_to_find, bus_mac))
return priv->mcast_vcc; return priv->mcast_vcc;