mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-27 06:04:23 +08:00
block: drop unused includes in <linux/blkdev.h>
Drop various include not actually used in blkdev.h itself. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com> Link: https://lore.kernel.org/r/20210920123328.1399408-14-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
2e9bc3465a
commit
3ab0bc78e9
@ -27,6 +27,7 @@
|
|||||||
#include <linux/blkdev.h>
|
#include <linux/blkdev.h>
|
||||||
#include <linux/slab.h>
|
#include <linux/slab.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
|
#include <linux/sched/clock.h>
|
||||||
|
|
||||||
|
|
||||||
#define DM_MSG_PREFIX "multipath historical-service-time"
|
#define DM_MSG_PREFIX "multipath historical-service-time"
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
* Copyright (c) 2017 Hisilicon Limited.
|
* Copyright (c) 2017 Hisilicon Limited.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <linux/sched/clock.h>
|
||||||
#include "hisi_sas.h"
|
#include "hisi_sas.h"
|
||||||
#define DRV_NAME "hisi_sas_v3_hw"
|
#define DRV_NAME "hisi_sas_v3_hw"
|
||||||
|
|
||||||
|
@ -3,8 +3,6 @@
|
|||||||
#define _LINUX_BLKDEV_H
|
#define _LINUX_BLKDEV_H
|
||||||
|
|
||||||
#include <linux/sched.h>
|
#include <linux/sched.h>
|
||||||
#include <linux/sched/clock.h>
|
|
||||||
#include <linux/major.h>
|
|
||||||
#include <linux/genhd.h>
|
#include <linux/genhd.h>
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <linux/llist.h>
|
#include <linux/llist.h>
|
||||||
@ -12,17 +10,12 @@
|
|||||||
#include <linux/timer.h>
|
#include <linux/timer.h>
|
||||||
#include <linux/workqueue.h>
|
#include <linux/workqueue.h>
|
||||||
#include <linux/wait.h>
|
#include <linux/wait.h>
|
||||||
#include <linux/mempool.h>
|
|
||||||
#include <linux/pfn.h>
|
|
||||||
#include <linux/bio.h>
|
#include <linux/bio.h>
|
||||||
#include <linux/stringify.h>
|
|
||||||
#include <linux/gfp.h>
|
#include <linux/gfp.h>
|
||||||
#include <linux/smp.h>
|
|
||||||
#include <linux/rcupdate.h>
|
#include <linux/rcupdate.h>
|
||||||
#include <linux/percpu-refcount.h>
|
#include <linux/percpu-refcount.h>
|
||||||
#include <linux/scatterlist.h>
|
#include <linux/scatterlist.h>
|
||||||
#include <linux/blkzoned.h>
|
#include <linux/blkzoned.h>
|
||||||
#include <linux/pm.h>
|
|
||||||
#include <linux/sbitmap.h>
|
#include <linux/sbitmap.h>
|
||||||
|
|
||||||
struct module;
|
struct module;
|
||||||
|
Loading…
Reference in New Issue
Block a user