From: Manish Katiyar Date: Tue, 27 Jan 2009 05:54:21 +0000 (-0800) Subject: r6040: Remove unused variable pdev from drivers/net/r6040.c X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a7a41acf99d9150b424839b0d7b4f5ad9d211e2d;p=mv-sheeva.git r6040: Remove unused variable pdev from drivers/net/r6040.c drivers/net/r6040.c:441: warning: unused variable 'pdev' Signed-off-by: Manish Katiyar Signed-off-by: David S. Miller --- diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 72fd9e97c19..b2dcdb5ed8b 100644 --- a/drivers/net/r6040.c +++ b/drivers/net/r6040.c @@ -438,7 +438,6 @@ static void r6040_down(struct net_device *dev) { struct r6040_private *lp = netdev_priv(dev); void __iomem *ioaddr = lp->base; - struct pci_dev *pdev = lp->pdev; int limit = 2048; u16 *adrp; u16 cmd;