netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/3] au1000_eth: remove unused variable in update_rx_stats
@ 2009-07-28 21:06 Florian Fainelli
  0 siblings, 0 replies; only message in thread
From: Florian Fainelli @ 2009-07-28 21:06 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Manuel Lauss

This patch removes the unused aup variable in update_rx_stats

Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c
index 1f724da..f5611a5 100644
--- a/drivers/net/au1000_eth.c
+++ b/drivers/net/au1000_eth.c
@@ -649,7 +649,6 @@ static int au1000_init(struct net_device *dev)
 
 static inline void update_rx_stats(struct net_device *dev, u32 status)
 {
-	struct au1000_private *aup = netdev_priv(dev);
 	struct net_device_stats *ps = &dev->stats;
 
 	ps->rx_packets++;

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-28 21:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-28 21:06 [PATCH 2/3] au1000_eth: remove unused variable in update_rx_stats Florian Fainelli

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).