From 6ceffd477808b806d0510747a77fca0a1a60a5b2 Mon Sep 17 00:00:00 2001 From: Paulius Zaleckas Date: Mon, 23 Feb 2009 04:59:43 +0000 Subject: ppp_generic: Simplify tx_dropped stats Local variable dev = ppp->dev Signed-off-by: Paulius Zaleckas Signed-off-by: David S. Miller --- drivers/net/ppp_generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers') diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c index 81e7fcced4b..ea8cdf8e4be 100644 --- a/drivers/net/ppp_generic.c +++ b/drivers/net/ppp_generic.c @@ -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; } -- cgit v1.2.3-70-g09d2