[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210726123940.63232-1-wangborong@cdjrlc.com>
Date: Mon, 26 Jul 2021 20:39:40 +0800
From: Jason Wang <wangborong@...rlc.com>
To: catalin.marinas@....com
Cc: will@...nel.org, maz@...nel.org, mark.rutland@....com,
suzuki.poulose@....com, amit.kachhap@....com, dbrazdil@...gle.com,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
Jason Wang <wangborong@...rlc.com>
Subject: [PATCH] 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@...rlc.com>
---
arch/arm64/kernel/cpufeature.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/arm64/kernel/cpufeature.c b/arch/arm64/kernel/cpufeature.c
index 0ead8bfedf20..23c3456f0aa2 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
--
2.32.0
Powered by blists - more mailing lists