Commit fec30c33 authored by Michał Mirosław's avatar Michał Mirosław Committed by David S. Miller

net: unexport netdev_fix_features()

It is not used anywhere except net/core/dev.c now.
Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1180e7d6
...@@ -2529,7 +2529,6 @@ static inline u32 netdev_get_wanted_features(struct net_device *dev) ...@@ -2529,7 +2529,6 @@ static inline u32 netdev_get_wanted_features(struct net_device *dev)
return (dev->features & ~dev->hw_features) | dev->wanted_features; return (dev->features & ~dev->hw_features) | dev->wanted_features;
} }
u32 netdev_increment_features(u32 all, u32 one, u32 mask); u32 netdev_increment_features(u32 all, u32 one, u32 mask);
u32 netdev_fix_features(struct net_device *dev, u32 features);
int __netdev_update_features(struct net_device *dev); int __netdev_update_features(struct net_device *dev);
void netdev_update_features(struct net_device *dev); void netdev_update_features(struct net_device *dev);
void netdev_change_features(struct net_device *dev); void netdev_change_features(struct net_device *dev);
......
...@@ -5209,7 +5209,7 @@ static void rollback_registered(struct net_device *dev) ...@@ -5209,7 +5209,7 @@ static void rollback_registered(struct net_device *dev)
list_del(&single); list_del(&single);
} }
u32 netdev_fix_features(struct net_device *dev, u32 features) static u32 netdev_fix_features(struct net_device *dev, u32 features)
{ {
/* Fix illegal checksum combinations */ /* Fix illegal checksum combinations */
if ((features & NETIF_F_HW_CSUM) && if ((features & NETIF_F_HW_CSUM) &&
...@@ -5268,7 +5268,6 @@ u32 netdev_fix_features(struct net_device *dev, u32 features) ...@@ -5268,7 +5268,6 @@ u32 netdev_fix_features(struct net_device *dev, u32 features)
return features; return features;
} }
EXPORT_SYMBOL(netdev_fix_features);
int __netdev_update_features(struct net_device *dev) int __netdev_update_features(struct net_device *dev)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment