summaryrefslogtreecommitdiff
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorWan Jiabing <wanjiabing@vivo.com>2021-06-15 19:49:20 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-06-17 14:13:53 +0200
commit795e0e38de2c36561a4f14e6e97b8a82f6f2e03c (patch)
treeeee80f09751ba4229b826dc483573311bb0df49d /drivers/cpuidle
parent154ae8bb3c830f0a568a5194ce7e631aa6bcfe8b (diff)
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 <wanjiabing@vivo.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpuidle')
-rw-r--r--drivers/cpuidle/governors/teo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpuidle/governors/teo.c b/drivers/cpuidle/governors/teo.c
index 1e0b2f828abb..7b91060e82f6 100644
--- a/drivers/cpuidle/governors/teo.c
+++ b/drivers/cpuidle/governors/teo.c
@@ -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) {