Commit 8f1fbc97 authored by Jason Wang's avatar Jason Wang Committed by Catalin Marinas

arm64: unnecessary end 'return;' in void functions

The end 'return;' in a void function is useless and verbose. It can
be removed safely.
Signed-off-by: default avatarJason Wang <wangborong@cdjrlc.com>
Link: https://lore.kernel.org/r/20210726123940.63232-1-wangborong@cdjrlc.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
parent a8caaa23
......@@ -1561,8 +1561,6 @@ kpti_install_ng_mappings(const struct arm64_cpu_capabilities *__unused)
if (!cpu)
arm64_use_ng_mappings = true;
return;
}
#else
static void
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment