]> err.no Git - linux-2.6/commit
[IA64] Eliminate NULL test after alloc_bootmem in iosapic_alloc_rte()
authorJulia Lawall <julia@diku.dk>
Tue, 24 Jun 2008 08:22:05 +0000 (10:22 +0200)
committerTony Luck <tony.luck@intel.com>
Tue, 24 Jun 2008 17:28:55 +0000 (10:28 -0700)
commite2569b7e572c0e6782380b3fdda901deb175d75a
treec7541106f957225ab0eb8fff6d1244e2675f697f
parent8097110d179b874d91c6495330c2b96c991e8c6e
[IA64] Eliminate NULL test after alloc_bootmem in iosapic_alloc_rte()

As noted by Akinobu Mita alloc_bootmem and related functions never return
NULL and always return a zeroed region of memory.  Thus a NULL test or
memset after calls to these functions is unnecessary.

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/iosapic.c