Skip to content

Commit

Permalink
cpufreq: Fix fall-through warning for Clang
Browse files Browse the repository at this point in the history
In preparation to enable -Wimplicit-fallthrough for Clang, fix a
fallthrough warning by simply dropping the empty default case at
the bottom.

Link: KSPP#115
Signed-off-by: Gustavo A. R. Silva <[email protected]>
  • Loading branch information
GustavoARSilva committed Jul 13, 2021
1 parent e181ad4 commit 2e7ea96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/cpufreq/longhaul.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e7ea96

Please sign in to comment.