aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-07-20 00:54:04 -0400
committerDavid S. Miller <davem@davemloft.net>2011-07-21 16:47:53 -0400
commitf605234066852b11096ab071124e3fe415e94420 (patch)
tree873c636a859b80e89eefd487a7558241a27f6a02 /include
parent033b1142f4bd44a116d1356fe4a0510437ceddf9 (diff)
vlan: finish removing vlan_find_dev from public header
else case remained forgotten. Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_vlan.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/if_vlan.h b/include/linux/if_vlan.h
index bc03e40fd7fd..cfb0cf2230a9 100644
--- a/include/linux/if_vlan.h
+++ b/include/linux/if_vlan.h
@@ -135,12 +135,6 @@ vlan_gro_frags(struct napi_struct *napi, struct vlan_group *grp,
135 unsigned int vlan_tci); 135 unsigned int vlan_tci);
136 136
137#else 137#else
138static inline struct net_device *vlan_find_dev(struct net_device *real_dev,
139 u16 vlan_id)
140{
141 return NULL;
142}
143
144static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev) 138static inline struct net_device *vlan_dev_real_dev(const struct net_device *dev)
145{ 139{
146 BUG(); 140 BUG();