summaryrefslogtreecommitdiffstats
path: root/net/8021q
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-07-20 04:54:48 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-21 13:47:58 -0700
commit7890a5b9cbfd159c81ffd7866b5b2d4425886e7f (patch)
treecd8167fd420387af1144c4ae0920175c741ea46a /net/8021q
parent4f7a4505f8356a739b13e55e964a7f4dc43a1633 (diff)
downloadop-kernel-dev-7890a5b9cbfd159c81ffd7866b5b2d4425886e7f.zip
op-kernel-dev-7890a5b9cbfd159c81ffd7866b5b2d4425886e7f.tar.gz
vlan: kill ndo_vlan_rx_register
has no users so remove it Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r--net/8021q/vlan.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/8021q/vlan.c b/net/8021q/vlan.c
index d24c464..8970ba1 100644
--- a/net/8021q/vlan.c
+++ b/net/8021q/vlan.c
@@ -134,8 +134,6 @@ void unregister_vlan_dev(struct net_device *dev, struct list_head *head)
vlan_gvrp_uninit_applicant(real_dev);
rcu_assign_pointer(real_dev->vlgrp, NULL);
- if (ops->ndo_vlan_rx_register)
- ops->ndo_vlan_rx_register(real_dev, NULL);
/* Free the group, after all cpu's are done. */
call_rcu(&grp->rcu, vlan_rcu_free);
@@ -207,8 +205,6 @@ int register_vlan_dev(struct net_device *dev)
grp->nr_vlans++;
if (ngrp) {
- if (ops->ndo_vlan_rx_register && (real_dev->features & NETIF_F_HW_VLAN_RX))
- ops->ndo_vlan_rx_register(real_dev, ngrp);
rcu_assign_pointer(real_dev->vlgrp, ngrp);
}
if (real_dev->features & NETIF_F_HW_VLAN_FILTER)
OpenPOWER on IntegriCloud