OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98322f2
)
r6040: Remove unused variable pdev from drivers/net/r6040.c
author
Manish Katiyar
<mkatiyar@gmail.com>
Tue, 27 Jan 2009 05:54:21 +0000
(21:54 -0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/r6040.c
b/drivers/net/r6040.c
index
72fd9e9
..
b2dcdb5
100644
(file)
--- 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;