From: Florian Fainelli <florian@openwrt.org>
To: David Miller <davem@davemloft.net>
Cc: netdev@vger.kernel.org, mark@bifferos.com,
bifferos <bifferos@yahoo.co.uk>
Subject: [PATCH 1/3] r6040: remove unused pioaddr variable
Date: Thu, 20 Aug 2009 13:26:12 +0200 [thread overview]
Message-ID: <200908201326.14630.florian@openwrt.org> (raw)
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));
next reply other threads:[~2009-08-20 11:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-20 11:26 Florian Fainelli [this message]
2009-08-24 2:16 ` [PATCH 1/3] r6040: remove unused pioaddr variable David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200908201326.14630.florian@openwrt.org \
--to=florian@openwrt.org \
--cc=bifferos@yahoo.co.uk \
--cc=davem@davemloft.net \
--cc=mark@bifferos.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).