aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/memstick/core/ms_block.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2024-12-19 06:01:59 +0000
committerJens Axboe <[email protected]>2024-12-23 15:17:23 +0000
commitcc76ace465d6977b47daa427379b7be1e0976f12 (patch)
treecdb182508f10e4a4e157238e8f72645615c7c65f /drivers/memstick/core/ms_block.c
parentblk-mq: remove unused queue mapping helpers (diff)
downloadkernel-cc76ace465d6977b47daa427379b7be1e0976f12.tar.gz
kernel-cc76ace465d6977b47daa427379b7be1e0976f12.zip
block: remove BLK_MQ_F_SHOULD_MERGE
BLK_MQ_F_SHOULD_MERGE is set for all tag_sets except those that purely process passthrough commands (bsg-lib, ufs tmf, various nvme admin queues) and thus don't even check the flag. Remove it to simplify the driver interface. Signed-off-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/memstick/core/ms_block.c')
-rw-r--r--drivers/memstick/core/ms_block.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/memstick/core/ms_block.c b/drivers/memstick/core/ms_block.c
index 20a2466bec23..5b617c1f6789 100644
--- a/drivers/memstick/core/ms_block.c
+++ b/drivers/memstick/core/ms_block.c
@@ -2094,8 +2094,7 @@ static int msb_init_disk(struct memstick_dev *card)
if (msb->disk_id < 0)
return msb->disk_id;
- rc = blk_mq_alloc_sq_tag_set(&msb->tag_set, &msb_mq_ops, 2,
- BLK_MQ_F_SHOULD_MERGE);
+ rc = blk_mq_alloc_sq_tag_set(&msb->tag_set, &msb_mq_ops, 2, 0);
if (rc)
goto out_release_id;