ARM: 8907/1: arch: reuse addr variable in pfn_valid
authorClemens Gruber <clemens.gruber@pqgruber.com>
Sun, 22 Sep 2019 13:25:51 +0000 (14:25 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Sun, 27 Oct 2019 21:14:34 +0000 (21:14 +0000)
commit032be72806d1b34db7057f2c7982d87ed2274751
tree5c937d582ec7beaf864855a003a7e51373c4de2d
parentd6d5df1db6e9d7f8f76d2911707f7d5877251b02
ARM: 8907/1: arch: reuse addr variable in pfn_valid

Avoid calling __pfn_to_phys twice.

Signed-off-by: Clemens Gruber <clemens.gruber@pqgruber.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/init.c