Tag: 786b32f892dc341b607445bdef29d8e41a840925

powerpc: Eliminate NULL test and memset after alloc_bootmem

Author: Julia Lawall <julia@diku.dk> As noted by Akinobu Mita in commit b1fceac2 (« x86: remove unnecessary memset and NULL check after alloc_bootmem() »), 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. This was fixed using the following …

Lire la suite