summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel
diff options
context:
space:
mode:
authorJason Wang <wangborong@cdjrlc.com>2021-07-26 15:39:40 +0300
committerCatalin Marinas <catalin.marinas@arm.com>2021-08-02 13:51:01 +0300
commit8f1fbc975b86cb6520da70fa8d8f69ee6f9306fe (patch)
tree741f32ae3b9bd113d47134a34f08cd128090823a /arch/arm64/kernel
parenta8caaa239c60ad735b92fb2e8147c8c095181afb (diff)
downloadlinux-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.c2
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