]> git.baikalelectronics.ru Git - kernel.git/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)
commitb4517d4a0ebc502a2426be1167c896a292677d30
treec7541106f957225ab0eb8fff6d1244e2675f697f
parente0127fc9499483388c550234f506c2532bd0d833
[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