diff options
author | Wei Yang <weiyang@linux.vnet.ibm.com> | 2015-06-04 14:18:49 +0800 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-06-05 13:53:22 +0200 |
commit | f2af7d25b4aa5b01203cc76e7530ea7fd18864a0 (patch) | |
tree | d328003041ed0cd3e78f6e7bb84a8b91cd17aa9c /Documentation | |
parent | d4bd441532b81fe2be1706e7f9dbbe8b5a364bcf (diff) |
x86/boot/setup: Clean up the e820_reserve_setup_data() code
Deobfuscate the 'found' logic, it can be replaced with a simple:
if (!pa_data)
return;
and 'found' can be eliminated.
Signed-off-by: Wei Yang <weiyang@linux.vnet.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
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>
Cc: Yinghai Lu <yinghai@kernel.org>
Link: http://lkml.kernel.org/r/1433398729-8314-1-git-send-email-weiyang@linux.vnet.ibm.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions