Discussion:
[ORLinux] [PATCH 13/16] openrisc idle: delete pm_idle
Len Brown
2013-02-10 05:58:20 UTC
Permalink
From: Len Brown <len.brown at intel.com>

pm_idle() on openrisc was dead code.

Signed-off-by: Len Brown <len.brown at intel.com>
Cc: linux at lists.openrisc.net
---
arch/openrisc/kernel/idle.c | 5 -----
1 file changed, 5 deletions(-)

diff --git a/arch/openrisc/kernel/idle.c b/arch/openrisc/kernel/idle.c
index 7d618fe..5e8a3b6 100644
--- a/arch/openrisc/kernel/idle.c
+++ b/arch/openrisc/kernel/idle.c
@@ -39,11 +39,6 @@

void (*powersave) (void) = NULL;

-static inline void pm_idle(void)
-{
- barrier();
-}
-
void cpu_idle(void)
{
set_thread_flag(TIF_POLLING_NRFLAG);
--
1.8.1.3.535.ga923c31
Jonas Bonn
2013-02-10 17:31:11 UTC
Permalink
Post by Len Brown
From: Len Brown <len.brown at intel.com>
pm_idle() on openrisc was dead code.
Signed-off-by: Len Brown <len.brown at intel.com>
Cc: linux at lists.openrisc.net
---
arch/openrisc/kernel/idle.c | 5 -----
1 file changed, 5 deletions(-)
Thanks, Len. Will apply.
/Jonas
Post by Len Brown
diff --git a/arch/openrisc/kernel/idle.c b/arch/openrisc/kernel/idle.c
index 7d618fe..5e8a3b6 100644
--- a/arch/openrisc/kernel/idle.c
+++ b/arch/openrisc/kernel/idle.c
@@ -39,11 +39,6 @@
void (*powersave) (void) = NULL;
-static inline void pm_idle(void)
-{
- barrier();
-}
-
void cpu_idle(void)
{
set_thread_flag(TIF_POLLING_NRFLAG);
Loading...