Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: Fix fall-through warning for Clang

In preparation to enable -Wimplicit-fallthrough for Clang, fix a
fallthrough warning by simply dropping the empty default case at
the bottom.

Link: https://github.com/KSPP/linux/issues/115
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>

-2
-2
drivers/cpufreq/longhaul.c
··· 942 942 return cpufreq_register_driver(&longhaul_driver); 943 943 case 10: 944 944 pr_err("Use acpi-cpufreq driver for VIA C7\n"); 945 - default: 946 - ; 947 945 } 948 946 949 947 return -ENODEV;