diff options
author | Jordan Borgner <mail@jordan-borgner.de> | 2018-11-02 14:56:22 +0000 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-11-06 21:05:01 +0100 |
commit | e8eeb3c8aab044ee8faf5e0389db8518629a9324 (patch) | |
tree | 3a971ce6498b82dedd90fb20fef3904297653504 /arch/x86/boot/boot.h | |
parent | 163c8d54a997153ee1a1e07fcac087492ad85b37 (diff) | |
download | linux-e8eeb3c8aab044ee8faf5e0389db8518629a9324.tar.bz2 |
x86/boot: Simplify the detect_memory*() control flow
The return values of these functions are not used - so simplify the functions.
No change in functionality.
[ mingo: Simplified the changelog. ]
Suggested: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Jordan Borgner <mail@jordan-borgner.de>
Cc: Borislav Petkov <bp@alien8.de>
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>
Link: http://lkml.kernel.org/r/20181102145622.zjx2t3mdu3rv6sgy@JordanDesktop
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'arch/x86/boot/boot.h')
-rw-r--r-- | arch/x86/boot/boot.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/boot/boot.h b/arch/x86/boot/boot.h index ef5a9cc66fb8..32a09eb5c101 100644 --- a/arch/x86/boot/boot.h +++ b/arch/x86/boot/boot.h @@ -309,7 +309,7 @@ void query_edd(void); void __attribute__((noreturn)) die(void); /* memory.c */ -int detect_memory(void); +void detect_memory(void); /* pm.c */ void __attribute__((noreturn)) go_to_protected_mode(void); |