diff options
author | Mark Kelly <mark@bifferos.com> | 2009-08-19 21:26:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-23 22:16:26 -0400 |
commit | d516478ff67b2abb2f3ecc998a598576d92b0b5e (patch) | |
tree | f4cc18a0c0ba73450222ad80423b3094836cff92 /drivers/net/r6040.c | |
parent | f2c449320d547bd5c281649eb1d99afb20765144 (diff) |
r6040: remove unused pioaddr variable
This patch removes the unused pioaddr variable.
Signed-off-by: Mark Kelly <mark@bifferos.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/r6040.c')
-rw-r--r-- | drivers/net/r6040.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/r6040.c b/drivers/net/r6040.c index 840677f5ee82..60bd010e8e42 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, | |||
1091 | int err, io_size = R6040_IO_SIZE; | 1091 | int err, io_size = R6040_IO_SIZE; |
1092 | static int card_idx = -1; | 1092 | static int card_idx = -1; |
1093 | int bar = 0; | 1093 | int bar = 0; |
1094 | long pioaddr; | ||
1095 | u16 *adrp; | 1094 | u16 *adrp; |
1096 | 1095 | ||
1097 | printk(KERN_INFO "%s\n", version); | 1096 | printk(KERN_INFO "%s\n", version); |
@@ -1121,7 +1120,6 @@ static int __devinit r6040_init_one(struct pci_dev *pdev, | |||
1121 | goto err_out; | 1120 | goto err_out; |
1122 | } | 1121 | } |
1123 | 1122 | ||
1124 | pioaddr = pci_resource_start(pdev, bar); /* IO map base address */ | ||
1125 | pci_set_master(pdev); | 1123 | pci_set_master(pdev); |
1126 | 1124 | ||
1127 | dev = alloc_etherdev(sizeof(struct r6040_private)); | 1125 | dev = alloc_etherdev(sizeof(struct r6040_private)); |