net: netif_setup_tc() is static
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 20 Jan 2011 19:18:08 +0000 (19:18 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 21 Jan 2011 21:08:27 +0000 (13:08 -0800)
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>
net/core/dev.c

index 2730352..47d3d78 100644 (file)
@@ -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];