ipmi: Add missing rv in ipmi_parisc_probe()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Tue, 28 Jan 2014 19:12:35 +0000 (20:12 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 Jan 2014 18:02:54 +0000 (10:02 -0800)
Fix

  drivers/char/ipmi/ipmi_si_intf.c: In function 'ipmi_parisc_probe':
  drivers/char/ipmi/ipmi_si_intf.c:2752:2: error: 'rv' undeclared (first use in this function)
  drivers/char/ipmi/ipmi_si_intf.c:2752:2: note: each undeclared identifier is reported only once for each function it appears in

Introduced by commit d02b3709ff8e ("ipmi: Cleanup error return")

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Acked-by: Corey Minyard <cminyard@mvista.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/ipmi/ipmi_si_intf.c

index 671c3852d35921852a0570c1636196d38e177599..03f41896d09050ff391ad55ef263faa1430de19a 100644 (file)
@@ -2724,6 +2724,7 @@ static struct platform_driver ipmi_driver = {
 static int ipmi_parisc_probe(struct parisc_device *dev)
 {
        struct smi_info *info;
+       int rv;
 
        info = smi_info_alloc();