]> git.baikalelectronics.ru Git - kernel.git/commit
x86/boot/KASLR: Remove unused variable
authorChao Fan <fanc.fnst@cn.fujitsu.com>
Thu, 23 Nov 2017 09:08:47 +0000 (17:08 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 23 Nov 2017 19:17:59 +0000 (20:17 +0100)
commit3ecec1391e7902af6ed1e65207e216a4df803e05
treebdb4e889854a5883f8c51ca0a32582dcadc1e9b8
parent1062dc6b4b2dca7621f3078c611e3325050827fe
x86/boot/KASLR: Remove unused variable

There are two variables "rc" in mem_avoid_memmap. One at the top of the
function and another one inside the while() loop. Drop the outer one as it
is unused. Cleanup some whitespace damage while at it.

Signed-off-by: Chao Fan <fanc.fnst@cn.fujitsu.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: gregkh@linuxfoundation.org
Cc: n-horiguchi@ah.jp.nec.com
Cc: keescook@chromium.org
Link: https://lkml.kernel.org/r/20171123090847.15293-1-fanc.fnst@cn.fujitsu.com
arch/x86/boot/compressed/kaslr.c