]> Git Repo - linux.git/commitdiff
arm64/cpuinfo: Remove unnecessary fallthrough annotation
authorGustavo A. R. Silva <[email protected]>
Thu, 27 Aug 2020 20:44:32 +0000 (15:44 -0500)
committerGustavo A. R. Silva <[email protected]>
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 <[email protected]>
Signed-off-by: Gustavo A. R. Silva <[email protected]>
arch/arm64/kernel/cpuinfo.c

index 1886a02c3f501ff86c46d37474a7624b50146fce..d0076c2159e6676daf00d12b03b72ea0b1f263be 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);
This page took 0.053883 seconds and 4 git commands to generate.