]> git.baikalelectronics.ru Git - kernel.git/commit
x86/CPU: Fix unused variable warning when !CONFIG_IA32_EMULATION
authorzhong jiang <zhongjiang@huawei.com>
Thu, 13 Sep 2018 02:49:45 +0000 (10:49 +0800)
committerBorislav Petkov <bp@suse.de>
Sat, 15 Sep 2018 12:57:05 +0000 (14:57 +0200)
commitcb872fcdee4414753ec777ceed80133c60c7c530
treeadb384a1164e6f249f8845ab3462bfc3ab1bad44
parent03ca4b3196f6315c9db63c935643c117aed41ee2
x86/CPU: Fix unused variable warning when !CONFIG_IA32_EMULATION

Get rid of local @cpu variable which is unused in the
!CONFIG_IA32_EMULATION case.

Signed-off-by: zhong jiang <zhongjiang@huawei.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: David Woodhouse <dwmw@amazon.co.uk>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Pavel Tatashin <pasha.tatashin@oracle.com>
Cc: x86-ml <x86@kernel.org>
Link: http://lkml.kernel.org/r/1536806985-24197-1-git-send-email-zhongjiang@huawei.com
[ Clean up commit message. ]
Signed-off-by: Borislav Petkov <bp@suse.de>
arch/x86/kernel/cpu/common.c