At this point we already know that 'addr' is not NULL so get rid of redundant 'if'. Probably gcc eliminate it by optimization pass. Signed-off-by: Cyrill Gorcunov CC: William Irwin --- mm/hugetlb.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: linux-2.6.git/mm/hugetlb.c =================================================================== --- linux-2.6.git.orig/mm/hugetlb.c +++ linux-2.6.git/mm/hugetlb.c @@ -991,8 +991,7 @@ __attribute__((weak)) int alloc_bootmem_ * puts them into the mem_map). */ m = addr; - if (m) - goto found; + goto found; } hstate_next_node(h); nr_nodes--; --