diff options
author | Julia Lawall <julia@diku.dk> | 2008-12-01 14:18:37 -0800 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2008-12-09 10:05:13 -0800 |
commit | 6afc9be1de0b938169d8985a3add0e3727ebc717 (patch) | |
tree | 61022bcd2ac12619e827b4b73791524c86071fba /drivers/misc/sgi-gru/grufault.c | |
parent | fc10212583996e248dde1da74cfeccd2f7e6b675 (diff) | |
download | op-kernel-dev-6afc9be1de0b938169d8985a3add0e3727ebc717.zip op-kernel-dev-6afc9be1de0b938169d8985a3add0e3727ebc717.tar.gz |
[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>
Diffstat (limited to 'drivers/misc/sgi-gru/grufault.c')
0 files changed, 0 insertions, 0 deletions