public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable
@ 2013-03-11 19:23 Valentin Ilie
  2013-03-11 19:57 ` Daniel Baluta
  2013-03-11 20:00 ` H. Peter Anvin
  0 siblings, 2 replies; 3+ messages in thread
From: Valentin Ilie @ 2013-03-11 19:23 UTC (permalink / raw)
  To: tglx, mingo, hpa; +Cc: x86, linux-kernel, Valentin Ilie

Remove unused variable 'c'

Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
---
 arch/x86/kernel/smpboot.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
index a6ceaed..7bc998a 100644
--- a/arch/x86/kernel/smpboot.c
+++ b/arch/x86/kernel/smpboot.c
@@ -1367,7 +1367,6 @@ static inline void mwait_play_dead(void)
 	unsigned int highest_subcstate = 0;
 	int i;
 	void *mwait_ptr;
-	struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info);
 
 	if (!this_cpu_has(X86_FEATURE_MWAIT))
 		return;
-- 
1.7.10.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable
  2013-03-11 19:23 [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable Valentin Ilie
@ 2013-03-11 19:57 ` Daniel Baluta
  2013-03-11 20:00 ` H. Peter Anvin
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Baluta @ 2013-03-11 19:57 UTC (permalink / raw)
  To: Valentin Ilie; +Cc: tglx, mingo, hpa, x86, linux-kernel

On Mon, Mar 11, 2013 at 9:23 PM, Valentin Ilie <valentin.ilie@gmail.com> wrote:
> Remove unused variable 'c'
>
> Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
> ---
>  arch/x86/kernel/smpboot.c |    1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
> index a6ceaed..7bc998a 100644
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -1367,7 +1367,6 @@ static inline void mwait_play_dead(void)
>         unsigned int highest_subcstate = 0;
>         int i;
>         void *mwait_ptr;
> -       struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info);
>
>         if (!this_cpu_has(X86_FEATURE_MWAIT))
>                 return;
> --
> 1.7.10.4

Hi Valentin,

I guess a better subject for this patch should be
x86, smpboot: Remove unused variable

Use git log arch/x86/kernel/smpboot.c to check previous commits.

thanks,
Daniel.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable
  2013-03-11 19:23 [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable Valentin Ilie
  2013-03-11 19:57 ` Daniel Baluta
@ 2013-03-11 20:00 ` H. Peter Anvin
  1 sibling, 0 replies; 3+ messages in thread
From: H. Peter Anvin @ 2013-03-11 20:00 UTC (permalink / raw)
  To: Valentin Ilie; +Cc: tglx, mingo, x86, linux-kernel

On 03/11/2013 12:23 PM, Valentin Ilie wrote:
> Remove unused variable 'c'
> 
> Signed-off-by: Valentin Ilie <valentin.ilie@gmail.com>
> ---
>  arch/x86/kernel/smpboot.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/smpboot.c b/arch/x86/kernel/smpboot.c
> index a6ceaed..7bc998a 100644
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -1367,7 +1367,6 @@ static inline void mwait_play_dead(void)
>  	unsigned int highest_subcstate = 0;
>  	int i;
>  	void *mwait_ptr;
> -	struct cpuinfo_x86 *c = __this_cpu_ptr(&cpu_info);
>  
>  	if (!this_cpu_has(X86_FEATURE_MWAIT))
>  		return;
> 

Already done.

	-hpa


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-03-11 20:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11 19:23 [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable Valentin Ilie
2013-03-11 19:57 ` Daniel Baluta
2013-03-11 20:00 ` H. Peter Anvin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox