From: Mark Rutland Date: Wed, 5 Feb 2014 10:24:13 +0000 (+0000) Subject: arm64: simplify pgd_alloc X-Git-Tag: v3.14-rc2~12^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=883d50a0ed403446437444a495356ce31e1197a3;p=pandora-kernel.git 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 Cc: Will Deacon Signed-off-by: Catalin Marinas --- Reading git-diff-tree failed