diff options
author | Michał Mirosław <mirq-linux@rere.qmqm.pl> | 2011-07-13 10:10:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 17:44:32 -0400 |
commit | fec30c33819b442fd618b10f405248ee7cbb51d8 (patch) | |
tree | df331b34b872ba3a9d0619bf09181306872f0917 | |
parent | 1180e7d6599c1fb0c56a23a649a3eb37d877b9d0 (diff) |
net: unexport netdev_fix_features()
It is not used anywhere except net/core/dev.c now.
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/linux/netdevice.h | 1 | ||||
-rw-r--r-- | net/core/dev.c | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 5ccc0cb8352..f84dfd25c43 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h | |||
@@ -2529,7 +2529,6 @@ static inline u32 netdev_get_wanted_features(struct net_device *dev) | |||
2529 | return (dev->features & ~dev->hw_features) | dev->wanted_features; | 2529 | return (dev->features & ~dev->hw_features) | dev->wanted_features; |
2530 | } | 2530 | } |
2531 | u32 netdev_increment_features(u32 all, u32 one, u32 mask); | 2531 | u32 netdev_increment_features(u32 all, u32 one, u32 mask); |
2532 | u32 netdev_fix_features(struct net_device *dev, u32 features); | ||
2533 | int __netdev_update_features(struct net_device *dev); | 2532 | int __netdev_update_features(struct net_device *dev); |
2534 | void netdev_update_features(struct net_device *dev); | 2533 | void netdev_update_features(struct net_device *dev); |
2535 | void netdev_change_features(struct net_device *dev); | 2534 | void netdev_change_features(struct net_device *dev); |
diff --git a/net/core/dev.c b/net/core/dev.c index e57be026205..9444c5cb413 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -5209,7 +5209,7 @@ static void rollback_registered(struct net_device *dev) | |||
5209 | list_del(&single); | 5209 | list_del(&single); |
5210 | } | 5210 | } |
5211 | 5211 | ||
5212 | u32 netdev_fix_features(struct net_device *dev, u32 features) | 5212 | static u32 netdev_fix_features(struct net_device *dev, u32 features) |
5213 | { | 5213 | { |
5214 | /* Fix illegal checksum combinations */ | 5214 | /* Fix illegal checksum combinations */ |
5215 | if ((features & NETIF_F_HW_CSUM) && | 5215 | if ((features & NETIF_F_HW_CSUM) && |
@@ -5268,7 +5268,6 @@ u32 netdev_fix_features(struct net_device *dev, u32 features) | |||
5268 | 5268 | ||
5269 | return features; | 5269 | return features; |
5270 | } | 5270 | } |
5271 | EXPORT_SYMBOL(netdev_fix_features); | ||
5272 | 5271 | ||
5273 | int __netdev_update_features(struct net_device *dev) | 5272 | int __netdev_update_features(struct net_device *dev) |
5274 | { | 5273 | { |