vlan: finish removing vlan_find_dev from public header
authorJiri Pirko <jpirko@redhat.com>
Wed, 20 Jul 2011 04:54:04 +0000 (04:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2011 20:47:53 +0000 (13:47 -0700)
else case remained forgotten.

Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/if_vlan.h

index bc03e40fd7fdb3230005388973863b2a84641149..cfb0cf2230a9b3289e55ba5f68c322e0b3de77f9 100644 (file)
@@ -135,12 +135,6 @@ vlan_gro_frags(struct napi_struct *napi, struct vlan_group *grp,
               unsigned int vlan_tci);
 
 #else
-static inline struct net_device *vlan_find_dev(struct net_device *real_dev,
-                                              u16 vlan_id)
-{
-       return NULL;
-}
-
 static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev)
 {
        BUG();