projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cc4a0c
)
arm64/cpuinfo: Remove unnecessary fallthrough annotation
author
Gustavo A. R. Silva
<gustavoars@kernel.org>
Thu, 27 Aug 2020 20:44:32 +0000
(15:44 -0500)
committer
Gustavo A. R. Silva
<gustavoars@kernel.org>
Thu, 27 Aug 2020 20:44:32 +0000
(15:44 -0500)
Fallthrough annotations for consecutive default and case labels
are not necessary.
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
arch/arm64/kernel/cpuinfo.c
patch
|
blob
|
history
diff --git
a/arch/arm64/kernel/cpuinfo.c
b/arch/arm64/kernel/cpuinfo.c
index 1886a02c3f501ff86c46d37474a7624b50146fce..d0076c2159e6676daf00d12b03b72ea0b1f263be 100644
(file)
--- a/
arch/arm64/kernel/cpuinfo.c
+++ b/
arch/arm64/kernel/cpuinfo.c
@@
-327,7
+327,6
@@
static void cpuinfo_detect_icache_policy(struct cpuinfo_arm64 *info)
set_bit(ICACHEF_VPIPT, &__icache_flags);
break;
default:
- fallthrough;
case ICACHE_POLICY_VIPT:
/* Assume aliasing */
set_bit(ICACHEF_ALIASING, &__icache_flags);