diff options
author | Mike Snitzer <snitzer@kernel.org> | 2024-02-09 13:17:05 -0600 |
---|---|---|
committer | Mike Snitzer <snitzer@kernel.org> | 2024-03-01 09:26:11 -0500 |
commit | cb6f8b75005c385e4b604d6e9e3e94153d58cfaa (patch) | |
tree | bfb6a9b48e25bb1eefbbb97f13defa25743dd4a3 | |
parent | 650e3107bc5280855e602e8a24e4f50dd1779ae7 (diff) | |
download | linux-stable-cb6f8b75005c385e4b604d6e9e3e94153d58cfaa.tar.gz linux-stable-cb6f8b75005c385e4b604d6e9e3e94153d58cfaa.tar.bz2 linux-stable-cb6f8b75005c385e4b604d6e9e3e94153d58cfaa.zip |
dm vdo thread-utils: cleanup included headers
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Matthew Sakai <msakai@redhat.com>
-rw-r--r-- | drivers/md/dm-vdo/logger.c | 1 | ||||
-rw-r--r-- | drivers/md/dm-vdo/thread-utils.c | 4 | ||||
-rw-r--r-- | drivers/md/dm-vdo/thread-utils.h | 6 |
3 files changed, 3 insertions, 8 deletions
diff --git a/drivers/md/dm-vdo/logger.c b/drivers/md/dm-vdo/logger.c index ff1c570f81bf..969f10771ada 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 0b80247c7f1b..160679984d72 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 ebe032e066ff..f3619a581c5e 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 */ |