* [PATCH 1/3] r6040: remove unused pioaddr variable
@ 2009-08-20 11:26 Florian Fainelli
2009-08-24 2:16 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Florian Fainelli @ 2009-08-20 11:26 UTC (permalink / raw)
To: David Miller; +Cc: netdev, mark, bifferos
From: Mark Kelly <mark@bifferos.com>
This patch removes the unused pioaddr variable.
Signed-off-by: Mark Kelly <mark@bifferos.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c
index 840677f..60bd010 100644
--- a/drivers/net/r6040.c
+++ b/drivers/net/r6040.c
@@ -1091,7 +1091,6 @@ static int __devinit r6040_init_one(struct pci_dev *pdev,
int err, io_size = R6040_IO_SIZE;
static int card_idx = -1;
int bar = 0;
- long pioaddr;
u16 *adrp;
printk(KERN_INFO "%s\n", version);
@@ -1121,7 +1120,6 @@ static int __devinit r6040_init_one(struct pci_dev *pdev,
goto err_out;
}
- pioaddr = pci_resource_start(pdev, bar); /* IO map base address */
pci_set_master(pdev);
dev = alloc_etherdev(sizeof(struct r6040_private));
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/3] r6040: remove unused pioaddr variable
2009-08-20 11:26 [PATCH 1/3] r6040: remove unused pioaddr variable Florian Fainelli
@ 2009-08-24 2:16 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-08-24 2:16 UTC (permalink / raw)
To: florian; +Cc: netdev, mark, bifferos
All 3 patches applied to net-next-2.6, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-24 2:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-20 11:26 [PATCH 1/3] r6040: remove unused pioaddr variable Florian Fainelli
2009-08-24 2:16 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).