summaryrefslogtreecommitdiffstats
path: root/drivers/net/r6040.c
diff options
context:
space:
mode:
authorManish Katiyar <mkatiyar@gmail.com>2009-01-27 06:54:21 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-27 06:54:21 +0100
commita7a41acf99d9150b424839b0d7b4f5ad9d211e2d (patch)
tree66f03d1c68f2cf662481e00d5386244d967f3d16 /drivers/net/r6040.c
parentudp: optimize bind(0) if many ports are in use (diff)
downloadlinux-a7a41acf99d9150b424839b0d7b4f5ad9d211e2d.tar.xz
linux-a7a41acf99d9150b424839b0d7b4f5ad9d211e2d.zip
r6040: Remove unused variable pdev from drivers/net/r6040.c
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>
Diffstat (limited to 'drivers/net/r6040.c')
-rw-r--r--drivers/net/r6040.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
index 72fd9e97c190..b2dcdb5ed8bd 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;