lkml.org 
[lkml]   [2013]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable
From
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.


\
 
 \ /
  Last update: 2013-03-11 21:48    [W:0.047 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site