projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
154ae8b
)
cpuidle: teo: remove unneeded semicolon in teo_select()
author
Wan Jiabing
<wanjiabing@vivo.com>
Tue, 15 Jun 2021 11:49:20 +0000
(19:49 +0800)
committer
Rafael 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
patch
|
blob
|
history
diff --git
a/drivers/cpuidle/governors/teo.c
b/drivers/cpuidle/governors/teo.c
index
1e0b2f8
..
7b91060
100644
(file)
--- 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) {