arm64/cpuinfo: Remove unnecessary fallthrough annotation
authorGustavo A. R. Silva <gustavoars@kernel.org>
Thu, 27 Aug 2020 20:44:32 +0000 (15:44 -0500)
committerGustavo 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

index 1886a02..d0076c2 100644 (file)
@@ -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);