diff options
author | Yufen Yu <yuyufen@huawei.com> | 2020-10-08 23:26:32 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-10-09 12:34:06 -0600 |
commit | 0546858c59fb90122ca8c820e6aa221925a13bd8 (patch) | |
tree | 7666ed621ff7392017b51cf98946df76294c8d4e /block/blk-mq-sched.c | |
parent | f0c6ae09db1d39cbcf35776f889e0f7f861493d2 (diff) | |
download | linux-0546858c59fb90122ca8c820e6aa221925a13bd8.tar.bz2 |
block: get rid of unnecessary local variable
Since whole elevator register is protectd by sysfs_lock, we
don't need extras 'has_elevator'. Just use q->elevator directly.
Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sched.c')
0 files changed, 0 insertions, 0 deletions