All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: smc911x: Remove unused local variable
@ 2014-04-04  0:16 Laurent Pinchart
  2014-04-04 14:03 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Pinchart @ 2014-04-04  0:16 UTC (permalink / raw)
  To: netdev

The ioaddr local variable is assigned to but never used in the
smc911x_rx_dma_irq() function, remove it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 drivers/net/ethernet/smsc/smc911x.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/smsc/smc911x.c b/drivers/net/ethernet/smsc/smc911x.c
index c50fb08..50b4d83 100644
--- a/drivers/net/ethernet/smsc/smc911x.c
+++ b/drivers/net/ethernet/smsc/smc911x.c
@@ -1211,7 +1211,6 @@ static void
 smc911x_rx_dma_irq(int dma, void *data)
 {
 	struct net_device *dev = (struct net_device *)data;
-	unsigned long ioaddr = dev->base_addr;
 	struct smc911x_local *lp = netdev_priv(dev);
 	struct sk_buff *skb = lp->current_rx_skb;
 	unsigned long flags;
-- 
Regards,

Laurent Pinchart

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: smc911x: Remove unused local variable
  2014-04-04  0:16 [PATCH] net: smc911x: Remove unused local variable Laurent Pinchart
@ 2014-04-04 14:03 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2014-04-04 14:03 UTC (permalink / raw)
  To: laurent.pinchart; +Cc: netdev

From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Date: Fri,  4 Apr 2014 02:16:23 +0200

> The ioaddr local variable is assigned to but never used in the
> smc911x_rx_dma_irq() function, remove it.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-04 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-04  0:16 [PATCH] net: smc911x: Remove unused local variable Laurent Pinchart
2014-04-04 14:03 ` David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.