aboutsummaryrefslogtreecommitdiffstats
path: root/net/8021q/vlan_dev.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/8021q/vlan_dev.c')
-rw-r--r--net/8021q/vlan_dev.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/8021q/vlan_dev.c b/net/8021q/vlan_dev.c
index 722697d31e4f..2aab294c5744 100644
--- a/net/8021q/vlan_dev.c
+++ b/net/8021q/vlan_dev.c
@@ -531,11 +531,6 @@ void vlan_dev_get_realdev_name(const struct net_device *dev, char *result)
531 strncpy(result, vlan_dev_info(dev)->real_dev->name, 23); 531 strncpy(result, vlan_dev_info(dev)->real_dev->name, 23);
532} 532}
533 533
534void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result)
535{
536 *result = vlan_dev_info(dev)->vlan_id;
537}
538
539static int vlan_dev_open(struct net_device *dev) 534static int vlan_dev_open(struct net_device *dev)
540{ 535{
541 struct vlan_dev_info *vlan = vlan_dev_info(dev); 536 struct vlan_dev_info *vlan = vlan_dev_info(dev);