microblaze idle: delete pm_idle
authorLen Brown <len.brown@intel.com>
Sun, 10 Feb 2013 03:31:57 +0000 (22:31 -0500)
committerLen Brown <len.brown@intel.com>
Mon, 18 Feb 2013 04:37:07 +0000 (23:37 -0500)
pm_idle on microblaze served no purpose.

Signed-off-by: Len Brown <len.brown@intel.com>
Cc: microblaze-uclinux@itee.uq.edu.au
arch/microblaze/kernel/process.c

index a5b74f729e5bade2c12ca66fff5503161ad671f7..6ff2dcff3410ac854ac13258e87ca613a0472a53 100644 (file)
@@ -41,7 +41,6 @@ void show_regs(struct pt_regs *regs)
                                regs->msr, regs->ear, regs->esr, regs->fsr);
 }
 
-void (*pm_idle)(void);
 void (*pm_power_off)(void) = NULL;
 EXPORT_SYMBOL(pm_power_off);
 
@@ -98,8 +97,6 @@ void cpu_idle(void)
 
        /* endless idle loop with no priority at all */
        while (1) {
-               void (*idle)(void) = pm_idle;
-
                if (!idle)
                        idle = default_idle;