Commit 6ceffd47 authored by Paulius Zaleckas's avatar Paulius Zaleckas Committed by David S. Miller

ppp_generic: Simplify tx_dropped stats

Local variable dev = ppp->dev
Signed-off-by: default avatarPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment