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>
This commit is contained in:
parent
e181ad4388
commit
2e7ea96924
|
@ -942,8 +942,6 @@ static int __init longhaul_init(void)
|
|||
return cpufreq_register_driver(&longhaul_driver);
|
||||
case 10:
|
||||
pr_err("Use acpi-cpufreq driver for VIA C7\n");
|
||||
default:
|
||||
;
|
||||
}
|
||||
|
||||
return -ENODEV;
|
||||
|
|
Loading…
Reference in New Issue