All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype
@ 2016-09-14 12:33 Linus Walleij
  2016-09-14 12:34 ` Christoph Hellwig
  2016-09-14 14:45 ` Jens Axboe
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2016-09-14 12:33 UTC (permalink / raw)
  To: linux-block, Jens Axboe; +Cc: Linus Walleij, Christoph Hellwig

The blk_mq_alloc_single_hw_queue() is a prototype artifact that
should have been removed with
commit cdef54dd85ad66e77262ea57796a3e81683dd5d6
"blk-mq: remove alloc_hctx and free_hctx methods" where the last
users of it were deleted.

Fixes: cdef54dd85ad ("blk-mq: remove alloc_hctx and free_hctx methods")
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 include/linux/blk-mq.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/blk-mq.h b/include/linux/blk-mq.h
index e43bbffb5b7a..d3fb9c3c6969 100644
--- a/include/linux/blk-mq.h
+++ b/include/linux/blk-mq.h
@@ -221,7 +221,6 @@ static inline u16 blk_mq_unique_tag_to_tag(u32 unique_tag)
 }
 
 struct blk_mq_hw_ctx *blk_mq_map_queue(struct request_queue *, const int ctx_index);
-struct blk_mq_hw_ctx *blk_mq_alloc_single_hw_queue(struct blk_mq_tag_set *, unsigned int, int);
 
 int blk_mq_request_started(struct request *rq);
 void blk_mq_start_request(struct request *rq);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype
  2016-09-14 12:33 [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype Linus Walleij
@ 2016-09-14 12:34 ` Christoph Hellwig
  2016-09-14 14:45 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Christoph Hellwig @ 2016-09-14 12:34 UTC (permalink / raw)
  To: Linus Walleij; +Cc: linux-block, Jens Axboe, Christoph Hellwig

Thanks Linus,

this looks fine to me:

Reviewed-by: Christoph Hellwig <hch@lst.de>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype
  2016-09-14 12:33 [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype Linus Walleij
  2016-09-14 12:34 ` Christoph Hellwig
@ 2016-09-14 14:45 ` Jens Axboe
  1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2016-09-14 14:45 UTC (permalink / raw)
  To: Linus Walleij, linux-block; +Cc: Christoph Hellwig

On 09/14/2016 06:33 AM, Linus Walleij wrote:
> The blk_mq_alloc_single_hw_queue() is a prototype artifact that
> should have been removed with
> commit cdef54dd85ad66e77262ea57796a3e81683dd5d6
> "blk-mq: remove alloc_hctx and free_hctx methods" where the last
> users of it were deleted.

Added for 4.9, thanks.

-- 
Jens Axboe

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-14 14:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-14 12:33 [PATCH] block: remove blk_mq_alloc_single_hw_queue() prototype Linus Walleij
2016-09-14 12:34 ` Christoph Hellwig
2016-09-14 14:45 ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.