]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitb1fceac2b9e04d278316b2faddf276015fc06e3b
tree2dae7248c29ed2f5480baa5cc8d1c18911573bbd
parenta1a33fa315b8a5a390f1132681485209500ff5b5
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