lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 11 Mar 2013 21:57:22 +0200
From:	Daniel Baluta <dbaluta@...acom.com>
To:	Valentin Ilie <valentin.ilie@...il.com>
Cc:	tglx@...utronix.de, mingo@...hat.com, hpa@...or.com,
	x86@...nel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Arch: x86: kernel: smpboot.c: Remove unused variable

On Mon, Mar 11, 2013 at 9:23 PM, Valentin Ilie <valentin.ilie@...il.com> wrote:
> Remove unused variable 'c'
>
> Signed-off-by: Valentin Ilie <valentin.ilie@...il.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ