Skip to contentSkip to conversation

ppp_generic: Simplify tx_dropped stats

PATCH Applied Paulius Zaleckas 2 participants 2 messages Feb 23, 2009 – Feb 27, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ppp_generic: Simplify tx_dropped stats

Local variable dev = ppp->dev

---

 drivers/net/ppp_generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/net/ppp_generic.c +1 -1
index 7b2728b..78606f5 100644
@@ -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;
 }