summaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp_generic.c
diff options
context:
space:
mode:
authorPaulius Zaleckas <paulius.zaleckas@teltonika.lt>2009-02-23 04:59:43 +0000
committerDavid S. Miller <davem@davemloft.net>2009-02-26 23:02:55 -0800
commit6ceffd477808b806d0510747a77fca0a1a60a5b2 (patch)
tree8f4bf69a908e1db26f0bf5b738a76c63fdc9af9c /drivers/net/ppp_generic.c
parent63748aa8cd20a6bfb4a8ef3be9b51bec5e38ab72 (diff)
downloadop-kernel-dev-6ceffd477808b806d0510747a77fca0a1a60a5b2.zip
op-kernel-dev-6ceffd477808b806d0510747a77fca0a1a60a5b2.tar.gz
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>
Diffstat (limited to 'drivers/net/ppp_generic.c')
-rw-r--r--drivers/net/ppp_generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ppp_generic.c b/drivers/net/ppp_generic.c
index 81e7fcc..ea8cdf8 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;
}
OpenPOWER on IntegriCloud