Skip to content

Commit 795e0e3

Browse files
Wan Jiabingrafaeljw
authored andcommitted
cpuidle: teo: remove unneeded semicolon in teo_select()
Fix following coccicheck warning: drivers/cpuidle/governors/teo.c:315:10-11: Unneeded semicolon Signed-off-by: Wan Jiabing <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 154ae8b commit 795e0e3

File tree

1 file changed

+1
-1
lines changed
  • drivers/cpuidle/governors

1 file changed

+1
-1
lines changed

drivers/cpuidle/governors/teo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ static int teo_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
312312

313313
/* Check if there is any choice in the first place. */
314314
if (drv->state_count < 2) {
315-
idx = 0;;
315+
idx = 0;
316316
goto end;
317317
}
318318
if (!dev->states_usage[0].disable) {

0 commit comments

Comments
 (0)