[PATCH 10/31] block: remove the unused mode argument to ->release
Hannes Reinecke
hare at suse.de
Wed Jun 7 05:20:50 PDT 2023
On 6/6/23 09:39, Christoph Hellwig wrote:
> The mode argument to the ->release block_device_operation is never used,
> so remove it.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> ---
> arch/um/drivers/ubd_kern.c | 4 ++--
> arch/xtensa/platforms/iss/simdisk.c | 2 +-
> block/bdev.c | 14 +++++++-------
> drivers/block/amiflop.c | 2 +-
> drivers/block/aoe/aoeblk.c | 2 +-
> drivers/block/ataflop.c | 4 ++--
> drivers/block/drbd/drbd_main.c | 4 ++--
> drivers/block/floppy.c | 2 +-
> drivers/block/loop.c | 2 +-
> drivers/block/nbd.c | 2 +-
> drivers/block/pktcdvd.c | 4 ++--
> drivers/block/rbd.c | 2 +-
> drivers/block/rnbd/rnbd-clt.c | 2 +-
> drivers/block/swim.c | 2 +-
> drivers/block/swim3.c | 3 +--
> drivers/block/z2ram.c | 2 +-
> drivers/cdrom/gdrom.c | 2 +-
> drivers/md/bcache/super.c | 2 +-
> drivers/md/dm.c | 2 +-
> drivers/md/md.c | 2 +-
> drivers/mmc/core/block.c | 2 +-
> drivers/mtd/mtd_blkdevs.c | 2 +-
> drivers/mtd/ubi/block.c | 2 +-
> drivers/nvme/host/core.c | 2 +-
> drivers/nvme/host/multipath.c | 2 +-
> drivers/s390/block/dasd.c | 2 +-
> drivers/s390/block/dcssblk.c | 4 ++--
> drivers/scsi/sd.c | 3 +--
> drivers/scsi/sr.c | 2 +-
> include/linux/blkdev.h | 2 +-
> 30 files changed, 41 insertions(+), 43 deletions(-)
>
Reviewed-by: Hannes Reinecke <hare at suse.de>
Cheers,
Hannes
More information about the Linux-nvme
mailing list