提交 6ceffd47 编写于 作者: P Paulius Zaleckas 提交者: David S. Miller

ppp_generic: Simplify tx_dropped stats

Local variable dev = ppp->dev
Signed-off-by: NPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 63748aa8
......@@ -991,7 +991,7 @@ ppp_start_xmit(struct sk_buff *skb, struct net_device *dev)
outf:
kfree_skb(skb);
++ppp->dev->stats.tx_dropped;
++dev->stats.tx_dropped;
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册