aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2010-12-17 10:33:53 -0500
committerThomas Gleixner <tglx@linutronix.de>2011-02-18 10:57:18 -0500
commit13884c6680973f0ce3483dc59b636b4962d6dafe (patch)
tree818a2fc76bb62d3a9a6586f3d691d97ea20849a4 /arch/x86
parent168202c7bf89d7a2abaf8deaf4bbed18a1f7b3a3 (diff)
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@linutronix.de> Cc: dirk.brandewie@gmail.com LKML-Reference: <1292600033-12271-16-git-send-email-bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/x86')
-rw-r--r--arch/x86/pci/ce4100.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/pci/ce4100.c b/arch/x86/pci/ce4100.c
index 85b68ef5e809..c63c6d3dd8e8 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)
254static int ce4100_conf_read(unsigned int seg, unsigned int bus, 254static int ce4100_conf_read(unsigned int seg, unsigned int bus,
255 unsigned int devfn, int reg, int len, u32 *value) 255 unsigned int devfn, int reg, int len, u32 *value)
256{ 256{
257 int i, retval = 1; 257 int i;
258 258
259 if (bus == 1) { 259 if (bus == 1) {
260 for (i = 0; i < ARRAY_SIZE(bus1_fixups); i++) { 260 for (i = 0; i < ARRAY_SIZE(bus1_fixups); i++) {