commit | 6afc9be1de0b938169d8985a3add0e3727ebc717 | [log] [tgz] |
---|---|---|
author | Julia Lawall <julia@diku.dk> | Mon Dec 01 14:18:37 2008 -0800 |
committer | Tony Luck <tony.luck@intel.com> | Tue Dec 09 10:05:13 2008 -0800 |
tree | 61022bcd2ac12619e827b4b73791524c86071fba | |
parent | fc10212583996e248dde1da74cfeccd2f7e6b675 [diff] |
[IA64] eliminate NULL test and memset after alloc_bootmem As noted by Akinobu Mita in patch b1fceac2b9e04d278316b2faddf276015fc06e3b, 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: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Tony Luck <tony.luck@intel.com>