diff options
author | Jason Wang <wangborong@cdjrlc.com> | 2021-07-26 15:39:40 +0300 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2021-08-02 13:51:01 +0300 |
commit | 8f1fbc975b86cb6520da70fa8d8f69ee6f9306fe (patch) | |
tree | 741f32ae3b9bd113d47134a34f08cd128090823a /arch/arm64/kernel | |
parent | a8caaa239c60ad735b92fb2e8147c8c095181afb (diff) | |
download | linux-8f1fbc975b86cb6520da70fa8d8f69ee6f9306fe.tar.xz |
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: Jason Wang <wangborong@cdjrlc.com>
Link: https://lore.kernel.org/r/20210726123940.63232-1-wangborong@cdjrlc.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/kernel')
-rw-r--r-- | arch/arm64/kernel/cpufeature.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c index 2e4ec12667b3..9035c367d08b 100644 --- a/arch/arm64/kernel/cpufeature.c +++ b/arch/arm64/kernel/cpufeature.c @@ -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 |