Skip to content

Commit b5492c4

Browse files
Robert P. J. DayDavid S. Miller
authored andcommitted
[ATM]: Eliminate dead config variable CONFIG_BR2684_FAST_TRANS.
Signed-off-by: chas williams <chas@cmf.nrl.navy.mil> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 782f795 commit b5492c4

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎net/atm/br2684.c‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -460,11 +460,7 @@ static void br2684_push(struct atm_vcc *atmvcc, struct sk_buff *skb)
460460
skb_pull(skb, plen);
461461
skb_set_mac_header(skb, -ETH_HLEN);
462462
skb->pkt_type = PACKET_HOST;
463-
#ifdef CONFIG_BR2684_FAST_TRANS
464-
skb->protocol = ((u16 *) skb->data)[-1];
465-
#else /* some protocols might require this: */
466463
skb->protocol = br_type_trans(skb, net_dev);
467-
#endif /* CONFIG_BR2684_FAST_TRANS */
468464
#else
469465
skb_pull(skb, plen - ETH_HLEN);
470466
skb->protocol = eth_type_trans(skb, net_dev);

0 commit comments

Comments
 (0)