x86/mtrr: Remove unused variable
authorBo Yu <tsu.yubo@gmail.com>
Fri, 8 Feb 2019 12:53:43 +0000 (07:53 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Fri, 8 Feb 2019 13:32:33 +0000 (14:32 +0100)
commitc81cd5c08d676483bb09f4809660d2a1abea0062
treec48277c1924f1786a5016e35be3114638e0b092c
parent82434d23f36de42f70925f70d645ed3b1394361b
x86/mtrr: Remove unused variable

Compiling the kernel with W=1 results in the following warning:

arch/x86/kernel/cpu/mtrr/cleanup.c:299:16: warning: variable ‘second_basek’ set but not used [-Wunused-but-set-variable]
  unsigned long second_basek, second_sizek;

Remove the unused variable.

[ tglx: Massaged changelog ]

Signed-off-by: Bo Yu <tsu.yubo@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: bp@alien8.de
Cc: hpa@zytor.com
Cc: puwen@hygon.cn
Link: https://lkml.kernel.org/r/20190208125343.11451-1-tsu.yubo@gmail.com
arch/x86/kernel/cpu/mtrr/cleanup.c