]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit35d2250f065e9fb761d99d4daa1accaa8f94e93c
tree631d2a92cfb586c12fab20d14e1a05f73c8f184d
parent5baa52bef4bc41a4ee4971146876a8a0e475a427
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