[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-13884c6680973f0ce3483dc59b636b4962d6dafe@git.kernel.org>
Date: Fri, 18 Feb 2011 16:06:56 GMT
From: tip-bot for Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, hpa@...or.com, mingo@...hat.com,
bigeasy@...utronix.de, tglx@...utronix.de
Subject: [tip:x86/platform] x86/pci: Remove unused variable
Commit-ID: 13884c6680973f0ce3483dc59b636b4962d6dafe
Gitweb: http://git.kernel.org/tip/13884c6680973f0ce3483dc59b636b4962d6dafe
Author: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
AuthorDate: Fri, 17 Dec 2010 16:33:53 +0100
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Fri, 18 Feb 2011 16:57:18 +0100
x86/pci: Remove unused variable
|arch/x86/pci/ce4100.c: In function `ce4100_conf_read':
|arch/x86/pci/ce4100.c:257:9: warning: unused variable `retval'
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
Cc: dirk.brandewie@...il.com
LKML-Reference: <1292600033-12271-16-git-send-email-bigeasy@...utronix.de>
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
arch/x86/pci/ce4100.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c
index 85b68ef..c63c6d3 100644
--- a/arch/x86/pci/ce4100.c
+++ b/arch/x86/pci/ce4100.c
@@ -254,7 +254,7 @@ int bridge_read(unsigned int devfn, int reg, int len, u32 *value)
static int ce4100_conf_read(unsigned int seg, unsigned int bus,
unsigned int devfn, int reg, int len, u32 *value)
{
- int i, retval = 1;
+ int i;
if (bus == 1) {
for (i = 0; i < ARRAY_SIZE(bus1_fixups); i++) {
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists