]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove unnecessary argument from blk_execute_rq
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Mon, 25 Jan 2021 04:49:58 +0000 (05:49 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 04:52:39 +0000 (21:52 -0700)
commit23a0599cbecba176579ee2402c0adc2528ea0d9f
tree01b53c7c7ab82b5d8e38ec74290074c6739cda48
parentbeb0e66f8c6778cdfd638af46cc8effca766179a
block: remove unnecessary argument from blk_execute_rq

We can remove 'q' from blk_execute_rq as well after the previous change
in blk_execute_rq_nowait.

And more importantly it never really was needed to start with given
that we can trivial derive it from struct request.

Cc: linux-scsi@vger.kernel.org
Cc: virtualization@lists.linux-foundation.org
Cc: linux-ide@vger.kernel.org
Cc: linux-mmc@vger.kernel.org
Cc: linux-nvme@lists.infradead.org
Cc: linux-nfs@vger.kernel.org
Acked-by: Ulf Hansson <ulf.hansson@linaro.org> # for mmc
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
24 files changed:
block/blk-exec.c
block/bsg.c
block/scsi_ioctl.c
drivers/block/mtip32xx/mtip32xx.c
drivers/block/paride/pd.c
drivers/block/pktcdvd.c
drivers/block/virtio_blk.c
drivers/cdrom/cdrom.c
drivers/ide/ide-atapi.c
drivers/ide/ide-cd.c
drivers/ide/ide-cd_ioctl.c
drivers/ide/ide-devsets.c
drivers/ide/ide-disk.c
drivers/ide/ide-ioctls.c
drivers/ide/ide-park.c
drivers/ide/ide-pm.c
drivers/ide/ide-tape.c
drivers/ide/ide-taskfile.c
drivers/mmc/core/block.c
drivers/nvme/host/core.c
drivers/nvme/host/lightnvm.c
drivers/scsi/scsi_lib.c
fs/nfsd/blocklayout.c
include/linux/blkdev.h