diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2016-12-25 15:35:51 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2016-12-28 09:20:29 +0100 |
commit | b4ed1d15b453c86b4b9362128bd7a0ecd95a105c (patch) | |
tree | 03f0d77ddec7c04c869477e93d4ea50aff4ecf3f /arch/x86/kernel/head32.c | |
parent | Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert... (diff) | |
download | linux-b4ed1d15b453c86b4b9362128bd7a0ecd95a105c.tar.xz linux-b4ed1d15b453c86b4b9362128bd7a0ecd95a105c.zip |
x86/e820: Make e820_search_gap() static and remove unused variables
e820_search_gap() is just used locally now and the 'start_addr' and 'end_addr'
parameters are fixed values. Also, 'gapstart' is not checked in this function
anymore.
So make the function static and remove those unused variables.
Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
Acked-by: Yinghai Lu <yinghai@kernel.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: akataria@vmware.com
Link: http://lkml.kernel.org/r/1482676551-11411-1-git-send-email-richard.weiyang@gmail.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/kernel/head32.c')
0 files changed, 0 insertions, 0 deletions