Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit b7dc0b2c authored by Russell King's avatar Russell King
Browse files

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: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 2f0b1926
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment