Subject: [PATCH] ppp_generic: Simplify tx_dropped stats

From: Paulius Zaleckas <[email-masked]>
Date: Mon, 23 Feb 2009 16:59:43 +0200

Local variable dev = ppp->dev

Signed-off-by: Paulius Zaleckas <[email-masked]>
---

 drivers/net/ppp_generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 7b2728b..78606f5 100644
--- a/drivers/net/ppp_generic.c
+++ b/drivers/net/ppp_generic.c
@@ -908,7 +908,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;
 }