]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/hwspinlock.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)
commit69550d41ff9c884c6d996fca41037974b2255852
treebdb4e889854a5883f8c51ca0a32582dcadc1e9b8
parentca37e57bbe0cf1455ea3e84eb89ed04a132d59e1
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