Skip to contentSkip to conversation

sched/fair: clean up some inconsistent indenting

PATCH New Jiapeng Chong 1 participant 1 message Apr 29, 2022 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched/fair: clean up some inconsistent indenting

Eliminate the follow smatch warning:

kernel/sched/fair.c:5743 enqueue_task_fair() warn: inconsistent indenting.

---
 kernel/sched/fair.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
kernel/sched/fair.c +6 -6
index 6f3113e26d26..c8550441ce2a 100644
@@ -5736,12 +5736,12 @@ enqueue_task_fair(struct rq *rq, struct task_struct *p, int flags)
 		if (cfs_rq_throttled(cfs_rq))
 			goto enqueue_throttle;
 
-               /*
-                * One parent has been throttled and cfs_rq removed from the
-                * list. Add it back to not break the leaf list.
-                */
-               if (throttled_hierarchy(cfs_rq))
-                       list_add_leaf_cfs_rq(cfs_rq);
+		/*
+		 * One parent has been throttled and cfs_rq removed from the
+		 * list. Add it back to not break the leaf list.
+		 */
+		if (throttled_hierarchy(cfs_rq))
+			list_add_leaf_cfs_rq(cfs_rq);
 	}
 
 	/* At this point se is NULL and we are at root level*/
Signature · 1 line
2.20.1.7.g153144c