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 72fd9e97c190f0ebc5e43b0f259db775b6287916..b2dcdb5ed8bde1b3ca424ad17fb310c4b5a2ba5e 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;