Skip to contentSkip to conversation

r6040: remove unused pioaddr variable

PATCH In review Florian Fainelli 2 participants 2 messages Aug 20, 2009 – Aug 24, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 r6040: remove unused pioaddr variable

From: Mark Kelly <[email protected]>

This patch removes the unused pioaddr variable.

---

drivers/net/r6040.c +0 -2
index 840677f..60bd010 100644
@@ -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));
maintainer
#1 lore raw

All 3 patches applied to net-next-2.6, thanks.