powerpc/mm: Unindent htab_dt_scan_page_sizes()
authorMichael Ellerman <mpe@ellerman.id.au>
Thu, 7 Aug 2014 07:26:33 +0000 (17:26 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 25 Sep 2014 13:14:56 +0000 (23:14 +1000)
commit9e34992a622a15fb915471ccdebed19a87d8d531
tree631d2a92cfb586c12fab20d14e1a05f73c8f184d
parent87d99c0e2c2f9d1386d8e284a5fbc13e96adbe25
powerpc/mm: Unindent htab_dt_scan_page_sizes()

We can unindent the bulk of htab_dt_scan_page_sizes() by returning early
if the property is not found. That is nice in and of itself, but also
has the advantage of making it clear that we always return success once
we have found the ibm,segment-page-sizes property.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/mm/hash_utils_64.c