el.org; b...@vger.kernel.org
Subject: Re: [PATCH] block: remove redundant empty check of mq_list
On 9/9/20 12:48 AM, Xianting Tian wrote:
> blk_mq_flush_plug_list() itself will do the empty check of mq_list, so
> remove such check in blk_flush_plug_list().
> Actually normally mq_list
On 9/9/20 12:48 AM, Xianting Tian wrote:
> blk_mq_flush_plug_list() itself will do the empty check of mq_list,
> so remove such check in blk_flush_plug_list().
> Actually normally mq_list is not empty when blk_flush_plug_list is
> called.
It's cheaper to do in the caller, instead of doing the func
blk_mq_flush_plug_list() itself will do the empty check of mq_list,
so remove such check in blk_flush_plug_list().
Actually normally mq_list is not empty when blk_flush_plug_list is
called.
Signed-off-by: Xianting Tian
---
block/blk-core.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)