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:
2f0b192
)
ARM: Avoid evaluating page_address() multiple times
author
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 25 Oct 2009 11:25:50 +0000
(11:25 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Tue, 1 Dec 2009 18:20:07 +0000
(18:20 +0000)
page_address() is a function call rather than a macro, and so:
if (page_address(page))
do_something(page_address(page));
results in two calls to this function. This is unnecessary; remove
the duplication.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
No differences found