diff options
author | Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com> | 2015-03-30 07:19:14 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-03-30 17:04:27 +0200 |
commit | f9018ac9308ea415e659cfbdda040504ef92597b (patch) | |
tree | 291929592e7fcbc757d94138728249eb48ab8169 /block/blk-sysfs.c | |
parent | block: allocate request memory local to request queue (diff) | |
download | linux-f9018ac9308ea415e659cfbdda040504ef92597b.tar.xz linux-f9018ac9308ea415e659cfbdda040504ef92597b.zip |
block: remove redundant check about 'set->nr_hw_queues' in blk_mq_alloc_tag_set()
At the beginning of blk_mq_alloc_tag_set(), we have already checked whether
'set->nr_hw_queues' is zero, so here remove this redundant check.
Signed-off-by: Xiaoguang Wang <wangxg.fnst@cn.fujitsu.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-sysfs.c')
0 files changed, 0 insertions, 0 deletions