summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2011-07-13 18:10:30 +0400
committerDavid S. Miller <davem@davemloft.net>2011-07-15 01:44:32 +0400
commitfec30c33819b442fd618b10f405248ee7cbb51d8 (patch)
treedf331b34b872ba3a9d0619bf09181306872f0917 /net/core/dev.c
parent1180e7d6599c1fb0c56a23a649a3eb37d877b9d0 (diff)
downloadlinux-fec30c33819b442fd618b10f405248ee7cbb51d8.tar.xz
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>
Diffstat (limited to 'net/core/dev.c')
-rw-r--r--net/core/dev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index e57be0262051..9444c5cb4137 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -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) &&
@@ -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)
{