Skip to contentSkip to conversation

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

PATCH Applied [email protected] 2 participants 2 messages Sep 22, 2008 – Sep 23, 2008

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 5/8 net/atm/lec.c: drop code after return

From: Julia Lawall <[email protected]>

The break after the return serves no purpose.

---

 net/atm/lec.c |    1 -
 1 file changed, 1 deletion(-)
net/atm/lec.c renamed from net/atm/lec.c~net-atm-lecc-drop-code-after-return +0 -1
diff -puN net/atm/lec.c~net-atm-lecc-drop-code-after-return 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;

_