Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information