提交 bb134d22 编写于 作者: E Eric Dumazet 提交者: David S. Miller

net: netif_setup_tc() is static

Signed-off-by: NEric Dumazet <eric.dumazet@gmail.com>
Acked-by: NJohn Fastabend <john.r.fastabend@intel.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 ffa934f1
......@@ -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];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册