diff options
author | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 11:51:58 -0500 |
---|---|---|
committer | Gustavo A. R. Silva <gustavoars@kernel.org> | 2021-07-13 11:53:07 -0500 |
commit | 2e7ea96924acc502929c3ffa0fcbdaeec00b2208 (patch) | |
tree | 1afe2982f372f7f7a58e0eab42c4ec83a074dd99 | |
parent | e181ad43887c6b6b5995e9b191666f04242d77eb (diff) | |
download | linux-next-2e7ea96924acc502929c3ffa0fcbdaeec00b2208.tar.gz |
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>
-rw-r--r-- | drivers/cpufreq/longhaul.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c index 182a4dbca095..c538a153ee82 100644 --- a/drivers/cpufreq/longhaul.c +++ b/drivers/cpufreq/longhaul.c @@ -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; |