diff options
| author | Len Brown <len.brown@intel.com> | 2013-02-09 22:31:57 -0500 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2013-02-17 23:37:07 -0500 |
| commit | def82035a81dd1f46b88cd2cd3f2f8a75b3d6b6d (patch) | |
| tree | 72b53aad953f6fbdd42d928f1100edbe0208b99a /arch/microblaze/kernel | |
| parent | 1d8225661e2407241dbf16143180ff673668d6d7 (diff) | |
microblaze idle: delete pm_idle
pm_idle on microblaze served no purpose.
Signed-off-by: Len Brown <len.brown@intel.com>
Cc: microblaze-uclinux@itee.uq.edu.au
Diffstat (limited to 'arch/microblaze/kernel')
| -rw-r--r-- | arch/microblaze/kernel/process.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/microblaze/kernel/process.c b/arch/microblaze/kernel/process.c index a5b74f729e5b..6ff2dcff3410 100644 --- a/arch/microblaze/kernel/process.c +++ b/arch/microblaze/kernel/process.c | |||
| @@ -41,7 +41,6 @@ void show_regs(struct pt_regs *regs) | |||
| 41 | regs->msr, regs->ear, regs->esr, regs->fsr); | 41 | regs->msr, regs->ear, regs->esr, regs->fsr); |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | void (*pm_idle)(void); | ||
| 45 | void (*pm_power_off)(void) = NULL; | 44 | void (*pm_power_off)(void) = NULL; |
| 46 | EXPORT_SYMBOL(pm_power_off); | 45 | EXPORT_SYMBOL(pm_power_off); |
| 47 | 46 | ||
| @@ -98,8 +97,6 @@ void cpu_idle(void) | |||
| 98 | 97 | ||
| 99 | /* endless idle loop with no priority at all */ | 98 | /* endless idle loop with no priority at all */ |
| 100 | while (1) { | 99 | while (1) { |
| 101 | void (*idle)(void) = pm_idle; | ||
| 102 | |||
| 103 | if (!idle) | 100 | if (!idle) |
| 104 | idle = default_idle; | 101 | idle = default_idle; |
| 105 | 102 | ||
