Skip to content

Commit

Permalink
[ATM]: Eliminate dead config variable CONFIG_BR2684_FAST_TRANS.
Browse files Browse the repository at this point in the history
Signed-off-by: chas williams <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Robert P. J. Day authored and David S. Miller committed Jul 18, 2007
1 parent 782f795 commit b5492c4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/atm/br2684.c
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,7 @@ static void br2684_push(struct atm_vcc *atmvcc, struct sk_buff *skb)
skb_pull(skb, plen);
skb_set_mac_header(skb, -ETH_HLEN);
skb->pkt_type = PACKET_HOST;
#ifdef CONFIG_BR2684_FAST_TRANS
skb->protocol = ((u16 *) skb->data)[-1];
#else /* some protocols might require this: */
skb->protocol = br_type_trans(skb, net_dev);
#endif /* CONFIG_BR2684_FAST_TRANS */
#else
skb_pull(skb, plen - ETH_HLEN);
skb->protocol = eth_type_trans(skb, net_dev);
Expand Down

0 comments on commit b5492c4

Please sign in to comment.