aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@kernel.org>2024-02-09 13:17:05 -0600
committerMike Snitzer <snitzer@kernel.org>2024-03-01 09:26:11 -0500
commitcb6f8b75005c385e4b604d6e9e3e94153d58cfaa (patch)
treebfb6a9b48e25bb1eefbbb97f13defa25743dd4a3 /drivers/md
parent650e3107bc5280855e602e8a24e4f50dd1779ae7 (diff)
downloadlinux-cb6f8b75005c385e4b604d6e9e3e94153d58cfaa.tar.gz
dm vdo thread-utils: cleanup included headers
Signed-off-by: Mike Snitzer <snitzer@kernel.org> Signed-off-by: Matthew Sakai <msakai@redhat.com>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/dm-vdo/logger.c1
-rw-r--r--drivers/md/dm-vdo/thread-utils.c4
-rw-r--r--drivers/md/dm-vdo/thread-utils.h6
3 files changed, 3 insertions, 8 deletions
diff --git a/drivers/md/dm-vdo/logger.c b/drivers/md/dm-vdo/logger.c
index ff1c570f81bf5..969f10771adae 100644
--- a/drivers/md/dm-vdo/logger.c
+++ b/drivers/md/dm-vdo/logger.c
@@ -11,6 +11,7 @@
#include <linux/printk.h>
#include <linux/sched.h>
+#include "errors.h"
#include "thread-device.h"
#include "thread-utils.h"
diff --git a/drivers/md/dm-vdo/thread-utils.c b/drivers/md/dm-vdo/thread-utils.c
index 0b80247c7f1b0..160679984d72b 100644
--- a/drivers/md/dm-vdo/thread-utils.c
+++ b/drivers/md/dm-vdo/thread-utils.c
@@ -5,10 +5,10 @@
#include "thread-utils.h"
-#include <linux/completion.h>
#include <linux/delay.h>
-#include <linux/err.h>
#include <linux/kthread.h>
+#include <linux/mutex.h>
+#include <linux/types.h>
#include "errors.h"
#include "logger.h"
diff --git a/drivers/md/dm-vdo/thread-utils.h b/drivers/md/dm-vdo/thread-utils.h
index ebe032e066ff8..f3619a581c5e0 100644
--- a/drivers/md/dm-vdo/thread-utils.h
+++ b/drivers/md/dm-vdo/thread-utils.h
@@ -7,12 +7,6 @@
#define THREAD_UTILS_H
#include <linux/atomic.h>
-#include <linux/delay.h>
-#include <linux/jiffies.h>
-#include <linux/mutex.h>
-#include <linux/semaphore.h>
-
-#include "errors.h"
/* Thread and synchronization utilities */