xen/arm: io: handle_read: Use a local variable to store dabt
authorJulien Grall <julien.grall@citrix.com>
Fri, 11 Dec 2015 15:28:20 +0000 (15:28 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 5 Jan 2016 11:49:39 +0000 (11:49 +0000)
commitefeedfa0eeec687a5df96c575160c33caeb6b31f
treeffc9388a09c785235442b61d0798ab96fe1cf9b7
parenta6037e6593fe7b44a55304b8c6053088c0cc0441
xen/arm: io: handle_read: Use a local variable to store dabt

Rather than getting dabt every time through info->dabt, introduce a
local variable and use it.

Also fix a coding style error in the if condition.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/io.c