commit | 91f47662dfaa5b459aebe13284c6c38db27350dc | [log] [tgz] |
---|---|---|
author | Cyrill Gorcunov <gorcunov@gmail.com> | Tue Jan 06 14:40:33 2009 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jan 06 15:59:10 2009 -0800 |
tree | f2ab72a8be3219b1233e9c63e87f235219df3053 | |
parent | 73ce02e96fe34a983199a9855b2ae738f960a6ee [diff] |
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 <gorcunov@openvz.org> Reviewed-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>