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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information