As suggested by Bart Van Assche, get rid of blk_mq_reinit_tagset and move it to nvme-core (its only current consumer). Instead, introduce a more generic tagset iterator helper. Changes from v1: - pass tagset to nvme_reinit_tagset (Bart) Sagi Grimberg (3): block: introduce blk_mq_tagset_iter nvme: introduce nvme_reinit_tagset block: remove blk_mq_reinit_tagset block/blk-mq-tag.c | 11 +++++------ drivers/nvme/host/core.c | 10 ++++++++++ drivers/nvme/host/fc.c | 3 ++- drivers/nvme/host/nvme.h | 2 ++ drivers/nvme/host/rdma.c | 7 +++---- include/linux/blk-mq.h | 4 ++-- 6 files changed, 24 insertions(+), 13 deletions(-) -- 2.7.4