x86/pci: Remove unused variable
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Fri, 17 Dec 2010 15:33:53 +0000 (16:33 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 18 Feb 2011 15:57:18 +0000 (16:57 +0100)
|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>
arch/x86/pci/ce4100.c

index 85b68ef5e80965a7fecf7e00d10b34439f8d34fb..c63c6d3dd8e81e7d7dabf4309308fe63d0d39b37 100644 (file)
@@ -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++) {