Skip to content

Commit

Permalink
ppp_generic: Simplify tx_dropped stats
Browse files Browse the repository at this point in the history
Local variable dev = ppp->dev

Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Paulius Zaleckas authored and David S. Miller committed Feb 27, 2009
1 parent 63748aa commit 6ceffd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ppp_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 6ceffd4

Please sign in to comment.