Skip to content

Commit

Permalink
cpuidle: teo: remove unneeded semicolon in teo_select()
Browse files Browse the repository at this point in the history
Fix following coccicheck warning:
drivers/cpuidle/governors/teo.c:315:10-11: Unneeded semicolon

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Wan Jiabing authored and Rafael J. Wysocki committed Jun 17, 2021
1 parent 154ae8b commit 795e0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpuidle/governors/teo.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,

/* Check if there is any choice in the first place. */
if (drv->state_count < 2) {
idx = 0;;
idx = 0;
goto end;
}
if (!dev->states_usage[0].disable) {
Expand Down

0 comments on commit 795e0e3

Please sign in to comment.