public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] workqueue: remove some duplicated includes
@ 2018-11-26 14:33 Yangtao Li
  2018-11-30 18:36 ` Tejun Heo
  0 siblings, 1 reply; 5+ messages in thread
From: Yangtao Li @ 2018-11-26 14:33 UTC (permalink / raw)
  To: tj, jiangshanlai; +Cc: linux-kernel, Yangtao Li

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

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
---
 kernel/workqueue.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/kernel/workqueue.c b/kernel/workqueue.c
index 0280deac392e..7c62391ed5e5 100644
--- a/kernel/workqueue.c
+++ b/kernel/workqueue.c
@@ -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>
-- 
2.17.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-26 16:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-26 14:33 [PATCH] workqueue: remove some duplicated includes Yangtao Li
2018-11-30 18:36 ` Tejun Heo
2018-12-01  6:46   ` Frank Lee
2018-12-01 20:57     ` Nikolay Borisov
2018-12-26 16:56       ` Frank Lee

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox