diff options
author | Neil Horman <nhorman@tuxdriver.com> | 2011-05-24 04:31:08 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-25 17:55:23 -0400 |
commit | 6dcbbe25dcc9bd2bdeb4f685f8fb874ffc10e6be (patch) | |
tree | 8e8147187fe6be8b909445c6541f58c4ef474b2b /net/8021q | |
parent | 22e95ac87d62bdc65b8a694a23cd4a364689b013 (diff) |
net: move is_vlan_dev into public header file (v2)
Migrate is_vlan_dev() to if_vlan.h so that core networkig can use it
Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: davem@davemloft.net
CC: bhutchings@solarflare.com
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlan.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/net/8021q/vlan.h b/net/8021q/vlan.h index c3408def8a19..9da07e30d1a2 100644 --- a/net/8021q/vlan.h +++ b/net/8021q/vlan.h | |||
@@ -118,11 +118,6 @@ extern void vlan_netlink_fini(void); | |||
118 | 118 | ||
119 | extern struct rtnl_link_ops vlan_link_ops; | 119 | extern struct rtnl_link_ops vlan_link_ops; |
120 | 120 | ||
121 | static inline int is_vlan_dev(struct net_device *dev) | ||
122 | { | ||
123 | return dev->priv_flags & IFF_802_1Q_VLAN; | ||
124 | } | ||
125 | |||
126 | extern int vlan_net_id; | 121 | extern int vlan_net_id; |
127 | 122 | ||
128 | struct proc_dir_entry; | 123 | struct proc_dir_entry; |