Skip to contentSkip to conversation

workqueue: remove some duplicated includes

PATCH In review Yangtao Li 3 participants 5 messages Nov 26, 2018 – Dec 26, 2018 Workqueue

lore
Share & tools
lore

Yangtao Li

author
#0 lore raw

PATCH 1/1 workqueue: remove some duplicated includes

workqueue.h and kthread.h are included twice.It's unnecessary. hence just remove them.

---
 kernel/workqueue.c | 2 --
 1 file changed, 2 deletions(-)
kernel/workqueue.c +0 -2
index 0280deac392e..7c62391ed5e5 100644
@@ -30,11 +30,9 @@
 #include <linux/init.h>
 #include <linux/signal.h>
 #include <linux/completion.h>
-#include <linux/workqueue.h>
 #include <linux/slab.h>
 #include <linux/cpu.h>
 #include <linux/notifier.h>
-#include <linux/kthread.h>
 #include <linux/hardirq.h>
 #include <linux/mempolicy.h>
 #include <linux/freezer.h>
Signature · 1 line
2.17.0
author
#2 lore raw

It seems that the trivial tree has not been maintained for some time. Are there aother tree to choose?

MBR,
Yangtao

Quoted 15 lines · Tejun Heo
Quoted 4 lines · Yangtao Li

workqueue.h and kthread.h are included twice.It's unnecessary. hence just remove them.

Can you route this through the trivial tree?

Thanks.

--
tejun

#3 lore raw
Quoted 2 lines · Frank Lee

It seems that the trivial tree has not been maintained for some time. Are there aother tree to choose?

perhaps mmotm, maintained by Andrew (cc'ed)

Quoted 19 lines

MBR,
Yangtao

Quoted 15 lines · Tejun Heo
Quoted 4 lines · Yangtao Li

workqueue.h and kthread.h are included twice.It's unnecessary. hence just remove them.

Can you route this through the trivial tree?

Thanks.

--
tejun