Mark Rutland 883d50a0ed arm64: simplify pgd_alloc
Currently pgd_alloc has a redundant NULL check in its return path that
can be removed with no ill effects. With that removed it's also possible
to return early and eliminate the new_pgd temporary variable.

This patch applies said modifications, making the logic of pgd_alloc
correspond 1-1 with that of pgd_free.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2014-02-05 10:45:07 +00:00
..
2012-09-17 13:41:58 +01:00
2013-06-07 17:58:30 +01:00
2013-12-19 17:44:09 +00:00
2013-06-14 09:52:40 +01:00
2013-06-07 17:58:30 +01:00
2013-07-10 18:11:34 -07:00
2014-02-05 10:45:07 +00:00