Skip to content

Commit 8f1fbc9

Browse files
Jason Wangctmarinas
authored andcommitted
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Catalin Marinas <[email protected]>
1 parent a8caaa2 commit 8f1fbc9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/arm64/kernel/cpufeature.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1561,8 +1561,6 @@ kpti_install_ng_mappings(const struct arm64_cpu_capabilities *__unused)
15611561

15621562
if (!cpu)
15631563
arm64_use_ng_mappings = true;
1564-
1565-
return;
15661564
}
15671565
#else
15681566
static void

0 commit comments

Comments
 (0)