Skip to contentSkip to conversation

au1000_eth: remove unused variable in update_rx_stats

PATCH In review Florian Fainelli 1 participant 1 message Jul 28, 2009

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

PATCH 2/3 au1000_eth: remove unused variable in update_rx_stats

This patch removes the unused aup variable in update_rx_stats

---

drivers/net/au1000_eth.c +0 -1
index 1f724da..f5611a5 100644
@@ -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++;