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:
Paulius Zaleckas 2009-02-23 04:59:43 +00:00 committed by David S. Miller
parent 63748aa8cd
commit 6ceffd4778

View file

@ -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;
}