aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2008-09-22 19:24:45 -0700
committerDavid S. Miller <davem@davemloft.net>2008-09-22 19:24:45 -0700
commit5e687220a047dc4f0c2fb9ce886359a23075ddbc (patch)
tree77633d3ab00411df31a361e208396f392cb7ea22
parentdrivers/net/wan: Use DIV_ROUND_UP (diff)
downloadlinux-dev-5e687220a047dc4f0c2fb9ce886359a23075ddbc.tar.xz
linux-dev-5e687220a047dc4f0c2fb9ce886359a23075ddbc.zip
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>
-rw-r--r--net/atm/lec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c
index 5799fb52365a..8f701cde5945 100644
--- a/net/atm/lec.c
+++ b/net/atm/lec.c
@@ -1931,7 +1931,6 @@ static struct atm_vcc *lec_arp_resolve(struct lec_priv *priv,
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;