]> git.baikalelectronics.ru Git - kernel.git/commit
x86: remove unnecessary memset and NULL check after alloc_bootmem()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sat, 19 Apr 2008 14:55:14 +0000 (23:55 +0900)
committerIngo Molnar <mingo@elte.hu>
Sat, 26 Apr 2008 15:35:47 +0000 (17:35 +0200)
commit9f40b695c93db287b5444460e0d77178fe4e7dd0
tree2dae7248c29ed2f5480baa5cc8d1c18911573bbd
parent076a7e347705115fafa51129a66930270972342b
x86: remove unnecessary memset and NULL check after alloc_bootmem()

memset and NULL check after alloc_bootmem() are unnecessary.
Because it returns zeroed memory and it never return NULL.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/acpi/boot.c