diff options
| author | Anuj Gupta <[email protected]> | 2025-03-13 03:53:18 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2025-03-13 11:46:19 +0000 |
| commit | 75618ac6e98faee6ed1f17ae64875cc2d7784204 (patch) | |
| tree | a97a1bb051e8a3ca9db762e163f366c9f201cd70 /drivers/mmc | |
| parent | Merge tag 'md-6.15-20250312' of https://git.kernel.org/pub/scm/linux/kernel/g... (diff) | |
| download | kernel-75618ac6e98faee6ed1f17ae64875cc2d7784204.tar.gz kernel-75618ac6e98faee6ed1f17ae64875cc2d7784204.zip | |
block: remove unused parameter 'q' parameter in __blk_rq_map_sg()
request_queue param is no longer used by blk_rq_map_sg and
__blk_rq_map_sg. Remove it.
Signed-off-by: Anuj Gupta <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/mmc')
| -rw-r--r-- | drivers/mmc/core/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/queue.c b/drivers/mmc/core/queue.c index ab662f502fe7..3ba62f825b84 100644 --- a/drivers/mmc/core/queue.c +++ b/drivers/mmc/core/queue.c @@ -523,5 +523,5 @@ unsigned int mmc_queue_map_sg(struct mmc_queue *mq, struct mmc_queue_req *mqrq) { struct request *req = mmc_queue_req_to_req(mqrq); - return blk_rq_map_sg(mq->queue, req, mqrq->sg); + return blk_rq_map_sg(req, mqrq->sg); } |
