Skip to content

Commit

Permalink
net: unexport netdev_fix_features()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michał Mirosław authored and David S. Miller committed Jul 14, 2011
1 parent 1180e7d commit fec30c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion include/linux/netdevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -2529,7 +2529,6 @@ static inline u32 netdev_get_wanted_features(struct net_device *dev)
return (dev->features & ~dev->hw_features) | dev->wanted_features;
}
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);
void netdev_update_features(struct net_device *dev);
void netdev_change_features(struct net_device *dev);
Expand Down
3 changes: 1 addition & 2 deletions net/core/dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -5209,7 +5209,7 @@ static void rollback_registered(struct net_device *dev)
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 */
if ((features & NETIF_F_HW_CSUM) &&
Expand Down Expand Up @@ -5268,7 +5268,6 @@ u32 netdev_fix_features(struct net_device *dev, u32 features)

return features;
}
EXPORT_SYMBOL(netdev_fix_features);

int __netdev_update_features(struct net_device *dev)
{
Expand Down

0 comments on commit fec30c3

Please sign in to comment.