cpuidle: teo: remove unneeded semicolon in teo_select()
authorWan Jiabing <wanjiabing@vivo.com>
Tue, 15 Jun 2021 11:49:20 +0000 (19:49 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 17 Jun 2021 12:13:53 +0000 (14:13 +0200)
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>
drivers/cpuidle/governors/teo.c

index 1e0b2f8..7b91060 100644 (file)
@@ -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) {