]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/8021q/vlan_dev.c
vlan: move struct vlan_dev_info to private header
[linux-2.6-omap-h63xx.git] / net / 8021q / vlan_dev.c
index 722697d31e4f81a96ef446ff1836de411bf72d31..2aab294c57442e36d6d3b9b74c51a6d169ddd6b5 100644 (file)
@@ -531,11 +531,6 @@ void vlan_dev_get_realdev_name(const struct net_device *dev, char *result)
        strncpy(result, vlan_dev_info(dev)->real_dev->name, 23);
 }
 
-void vlan_dev_get_vid(const struct net_device *dev, unsigned short *result)
-{
-       *result = vlan_dev_info(dev)->vlan_id;
-}
-
 static int vlan_dev_open(struct net_device *dev)
 {
        struct vlan_dev_info *vlan = vlan_dev_info(dev);