summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Dumazet <eric.dumazet@gmail.com>2011-01-20 19:18:08 +0000
committerDavid S. Miller <davem@davemloft.net>2011-01-21 13:08:27 -0800
commitbb134d2298b49f50cf6d9388410fba96272905dc (patch)
tree29f5b8bb25616f0b0d377238913764f017e77ef1
parentffa934f192c8381061242eb170419266ef229902 (diff)
downloadlinux-3.10-bb134d2298b49f50cf6d9388410fba96272905dc.tar.gz
linux-3.10-bb134d2298b49f50cf6d9388410fba96272905dc.tar.bz2
linux-3.10-bb134d2298b49f50cf6d9388410fba96272905dc.zip
net: netif_setup_tc() is static
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/core/dev.c b/net/core/dev.c
index 2730352d2cc..47d3d78d541 100644
--- a/net/core/dev.c
+++ b/net/core/dev.c
@@ -1605,7 +1605,7 @@ static void dev_queue_xmit_nit(struct sk_buff *skb, struct net_device *dev)
* expected that drivers will fix this mapping if they can before
* calling netif_set_real_num_tx_queues.
*/
-void netif_setup_tc(struct net_device *dev, unsigned int txq)
+static void netif_setup_tc(struct net_device *dev, unsigned int txq)
{
int i;
struct netdev_tc_txq *tc = &dev->tc_to_txq[0];