diff options
author | Jiri Pirko <jpirko@redhat.com> | 2011-02-11 19:46:06 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-13 13:42:06 -0500 |
commit | d59cfde2fb960b5970ccb5a38cea25d38b37a8e8 (patch) | |
tree | 4ccf7fe4c8cc5a128885e60bd417253d3ec9b24a /include/linux/netdevice.h | |
parent | d5e219c3a2389f31b18e4ca55c33a12adaadf565 (diff) |
net: remove the unnecessary dance around skb_bond_should_drop
No need to check (master) twice and to drive in and out the header file.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Reviewed-by: Nicolas de Pesloüan <nicolas.2p.debian@free.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index c7d707452228..5a5baeaaa50f 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2437,17 +2437,6 @@ static inline void netif_set_gso_max_size(struct net_device *dev, | |||
2437 | dev->gso_max_size = size; | 2437 | dev->gso_max_size = size; |
2438 | } | 2438 | } |
2439 | 2439 | ||
2440 | extern int __skb_bond_should_drop(struct sk_buff *skb, | ||
2441 | struct net_device *master); | ||
2442 | |||
2443 | static inline int skb_bond_should_drop(struct sk_buff *skb, | ||
2444 | struct net_device *master) | ||
2445 | { | ||
2446 | if (master) | ||
2447 | return __skb_bond_should_drop(skb, master); | ||
2448 | return 0; | ||
2449 | } | ||
2450 | |||
2451 | extern struct pernet_operations __net_initdata loopback_net_ops; | 2440 | extern struct pernet_operations __net_initdata loopback_net_ops; |
2452 | 2441 | ||
2453 | static inline int dev_ethtool_get_settings(struct net_device *dev, | 2442 | static inline int dev_ethtool_get_settings(struct net_device *dev, |