Skip to content

Commit

Permalink
vlan: kill vlan_hwaccel_receive_skb
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jiri Pirko authored and David S. Miller committed Jul 21, 2011
1 parent 312cd51 commit 6dacadd
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions include/linux/if_vlan.h
Original file line number Diff line number Diff line change
Expand Up @@ -202,19 +202,6 @@ static inline int vlan_hwaccel_rx(struct sk_buff *skb,
return __vlan_hwaccel_rx(skb, grp, vlan_tci, 0);
}

/**
* vlan_hwaccel_receive_skb - netif_receive_skb wrapper for VLAN RX acceleration
* @skb: buffer
* @grp: vlan group
* @vlan_tci: VLAN TCI as received from the card
*/
static inline int vlan_hwaccel_receive_skb(struct sk_buff *skb,
struct vlan_group *grp,
u16 vlan_tci)
{
return __vlan_hwaccel_rx(skb, grp, vlan_tci, 1);
}

/**
* vlan_insert_tag - regular VLAN tag inserting
* @skb: skbuff to tag
Expand Down

0 comments on commit 6dacadd

Please sign in to comment.