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

The 'q' is not used since commit 228caa1dcdd4 ("block: remove dead
elevator code"), also update the comment of the function.

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

Cc: target-devel@vger.kernel.org
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
Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-exec.c
drivers/block/sx8.c
drivers/nvme/host/core.c
drivers/nvme/host/lightnvm.c
drivers/nvme/host/pci.c
drivers/nvme/target/passthru.c
drivers/scsi/scsi_error.c
drivers/scsi/sg.c
drivers/scsi/st.c
drivers/target/target_core_pscsi.c
include/linux/blkdev.h