[PATCH 4/8] sched: Remove unused else
From: John B. Wyatt IV
Date: Wed Oct 28 2020 - 20:07:43 EST
Silences suspect code warning.
Issue reported by checkpatch.
Signed-off-by: John B. Wyatt IV <jbwyatt4@xxxxxxxxx>
---
kernel/sched/coretag.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/sched/coretag.c b/kernel/sched/coretag.c
index 3333c9b0afc5..11139dbed648 100644
--- a/kernel/sched/coretag.c
+++ b/kernel/sched/coretag.c
@@ -146,7 +146,7 @@ int sched_core_share_tasks(struct task_struct *t1, struct task_struct *t2)
}
wr.tasks[0] = t1;
wr.cookies[0] = cookie;
- } else
+ }
/*
* t1 joining t2
* CASE 1:
--
2.28.0