git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73ce02e
)
mm: hugetlb: remove redundant `if' operation
author
Cyrill Gorcunov
<gorcunov@gmail.com>
Tue, 6 Jan 2009 22:40:33 +0000
(14:40 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:10 +0000
(15:59 -0800)
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>
mm/hugetlb.c
patch
|
blob
|
history
diff --cc
mm/hugetlb.c
Simple merge