]> git.ipfire.org Git - people/ms/linux.git/commit
block: drop unused includes in <linux/genhd.h>
authorChristoph Hellwig <hch@lst.de>
Mon, 20 Sep 2021 12:33:25 +0000 (14:33 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Mar 2022 13:23:46 +0000 (14:23 +0100)
commit69b80587f650875a473c66df2a1120c0e656362b
tree4545bf77d5dc2aadbce4de51834c4b740453c080
parentcd072bf2dcbd70e961cafb40e3718a154dc40cfc
block: drop unused includes in <linux/genhd.h>

commit b81e0c2372e65e5627864ba034433b64b2fc73f5 upstream.

Drop various include not actually used in genhd.h itself, and
move the remaning includes closer together.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Link: https://lore.kernel.org/r/20210920123328.1399408-15-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Reported-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>a
Reported-by: "H. Nikolaus Schaller" <hns@goldelico.com>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Cc: "Maciej W. Rozycki" <macro@orcam.me.uk>
[ resolves MIPS build failure by luck, root cause needs to be fixed in
  Linus's tree properly, but this is needed for now to fix the build - gregkh ]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
17 files changed:
arch/um/drivers/ubd_kern.c
block/genhd.c
block/holder.c
block/partitions/core.c
drivers/block/amiflop.c
drivers/block/ataflop.c
drivers/block/floppy.c
drivers/block/swim.c
drivers/block/xen-blkfront.c
drivers/md/md.c
drivers/s390/block/dasd_genhd.c
drivers/scsi/sd.c
drivers/scsi/sg.c
drivers/scsi/sr.c
drivers/scsi/st.c
include/linux/genhd.h
include/linux/part_stat.h