aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/queue.c
diff options
context:
space:
mode:
authorAnuj Gupta <[email protected]>2025-03-13 03:53:18 +0000
committerJens Axboe <[email protected]>2025-03-13 11:46:19 +0000
commit75618ac6e98faee6ed1f17ae64875cc2d7784204 (patch)
treea97a1bb051e8a3ca9db762e163f366c9f201cd70 /drivers/mmc/core/queue.c
parentMerge tag 'md-6.15-20250312' of https://git.kernel.org/pub/scm/linux/kernel/g... (diff)
downloadkernel-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/core/queue.c')
-rw-r--r--drivers/mmc/core/queue.c2
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);
}