From: Cyrill Gorcunov Date: Tue, 6 Jan 2009 22:40:33 +0000 (-0800) Subject: mm: hugetlb: remove redundant `if' operation X-Git-Tag: v2.6.29-rc1~392 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91f47662dfaa5b459aebe13284c6c38db27350dc;p=pandora-kernel.git mm: hugetlb: remove redundant `if' operation At this point we already know that 'addr' is not NULL so get rid of redundant 'if'. Probably gcc eliminate it by optimization pass. [akpm@linux-foundation.org: use __weak, too] Signed-off-by: Cyrill Gorcunov Reviewed-by: Ingo Molnar Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed