diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-10-25 11:25:50 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-12-01 18:20:07 +0000 |
commit | b7dc0b2cfc6e9bc7270915c642a8a8e999b6095e (patch) | |
tree | 68853dc2d48f9abcd5eadab0dc181ad8b0e8ac59 /arch/arm/mach-aaec2000 | |
parent | 2f0b192633f1fbf253b21c90938733491549edae (diff) |
ARM: Avoid evaluating page_address() multiple times
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>
Diffstat (limited to 'arch/arm/mach-aaec2000')
0 files changed, 0 insertions, 0 deletions