diff options
author | Mark Rutland <[email protected]> | 2014-02-05 10:24:13 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2014-02-05 10:45:07 +0000 |
commit | 883d50a0ed403446437444a495356ce31e1197a3 (patch) | |
tree | 6e2e6080ba260e114344cf25314c80e4439b2303 /fs/jbd2/commit.c | |
parent | bfb67a5606376bb32cb6f93dc05cda2e8c2038a5 (diff) |
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 <[email protected]>
Cc: Will Deacon <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions