ppp_generic: Simplify tx_dropped stats
Local variable dev = ppp->dev Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
63748aa8cd
commit
6ceffd4778
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user