r6040: Remove unused variable pdev from drivers/net/r6040.c
authorManish Katiyar <mkatiyar@gmail.com>
Tue, 27 Jan 2009 05:54:21 +0000 (21:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jan 2009 05:54:21 +0000 (21:54 -0800)
drivers/net/r6040.c:441: warning: unused variable 'pdev'

Signed-off-by: Manish Katiyar <mkatiyar@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c

index 72fd9e9..b2dcdb5 100644 (file)
@@ -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;