Tag: 70a3075d40154053ad90d342b3dcb1b795c73dbb

FRV: Eliminate NULL test and memset after alloc_bootmem

Author: Julia Lawall <julia@diku.dk> 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. arch/frv/mm/init.c | 2 — 1 file changed, 2 deletions(-) This was fixed using the following …

Continue reading