* [PATCH] cpuidle: menu: tidy up some indenting
@ 2018-04-11 8:18 Dan Carpenter
0 siblings, 0 replies; only message in thread
From: Dan Carpenter @ 2018-04-11 8:18 UTC (permalink / raw)
To: Rafael J. Wysocki
Cc: Peter Zijlstra (Intel),
Daniel Lezcano, Ramesh Thomas, Gautham R. Shenoy,
Nicholas Piggin, linux-kernel, kernel-janitors
These lines were indented 4 spaces less than they should have been. It
was a little confusing.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index 1bfe03ceb236..b733dc6aa42b 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -426,8 +426,8 @@ static int menu_select(struct cpuidle_driver *drv, struct cpuidle_device *dev,
* tick, so try to correct that.
*/
for (i = idx - 1; i >= 0; i--) {
- if (drv->states[i].disabled ||
- dev->states_usage[i].disable)
+ if (drv->states[i].disabled ||
+ dev->states_usage[i].disable)
continue;
idx = i;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-04-11 8:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-11 8:18 [PATCH] cpuidle: menu: tidy up some indenting Dan Carpenter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).