[ARM] Fix warning in consistent.c
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 3 Jul 2006 12:30:52 +0000 (13:30 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 3 Jul 2006 12:30:52 +0000 (13:30 +0100)
commit67f3a58856b6a41a46e9256a79a8ca3809f47cc6
treebb1d2a66ff351976d6e7e3ba0a143641976cdbd8
parent4e19025bc7be18e4d1dc8d1fde06c2d23927eb4d
[ARM] Fix warning in consistent.c

No need for 'cr' to be a local variable, which is unused in the
SMP case, and only used once in the UP case.  Just call get_cr()
directly.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/ioremap.c