summaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_core.c
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-07-20 04:54:36 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-21 13:47:56 -0700
commita4aeb26628b5184386f99cf202ac837b0e56c975 (patch)
tree45c99ff239308f6860ae85c9ad6a88525df3fbdf /net/8021q/vlan_core.c
parent892ef5d85259e193505d553c10237fd5dc9a3d0d (diff)
downloadlinux-a4aeb26628b5184386f99cf202ac837b0e56c975.tar.gz
linux-a4aeb26628b5184386f99cf202ac837b0e56c975.tar.bz2
linux-a4aeb26628b5184386f99cf202ac837b0e56c975.zip
vlan: kill __vlan_hwaccel_rx and vlan_hwaccel_rx
Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q/vlan_core.c')
-rw-r--r--net/8021q/vlan_core.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/8021q/vlan_core.c b/net/8021q/vlan_core.c
index 5940366fac48..68b04ea5fa48 100644
--- a/net/8021q/vlan_core.c
+++ b/net/8021q/vlan_core.c
@@ -96,15 +96,6 @@ u16 vlan_dev_vlan_id(const struct net_device *dev)
}
EXPORT_SYMBOL(vlan_dev_vlan_id);
-/* VLAN rx hw acceleration helper. This acts like netif_{rx,receive_skb}(). */
-int __vlan_hwaccel_rx(struct sk_buff *skb, struct vlan_group *grp,
- u16 vlan_tci, int polling)
-{
- __vlan_hwaccel_put_tag(skb, vlan_tci);
- return polling ? netif_receive_skb(skb) : netif_rx(skb);
-}
-EXPORT_SYMBOL(__vlan_hwaccel_rx);
-
gro_result_t vlan_gro_receive(struct napi_struct *napi, struct vlan_group *grp,
unsigned int vlan_tci, struct sk_buff *skb)
{