diff mbox

[13/16] openrisc idle: delete pm_idle

Message ID 06f69fdb400f9850337c1f23a1dabca0a2c39cbb.1360475150.git.len.brown@intel.com (mailing list archive)
State New, archived
Delegated to: Len Brown
Headers show

Commit Message

Len Brown Feb. 10, 2013, 5:58 a.m. UTC
From: Len Brown <len.brown@intel.com>

pm_idle() on openrisc was dead code.

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

Comments

Jonas Bonn Feb. 10, 2013, 5:31 p.m. UTC | #1
On 02/10/13 06:58, Len Brown wrote:
> From: Len Brown <len.brown@intel.com>
>
> pm_idle() on openrisc was dead code.
>
> Signed-off-by: Len Brown <len.brown@intel.com>
> Cc: linux@lists.openrisc.net
> ---
>   arch/openrisc/kernel/idle.c | 5 -----
>   1 file changed, 5 deletions(-)

Thanks, Len.  Will apply.
/Jonas

> 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);

--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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);