diff options
author | 2020-10-08 23:26:32 -0400 | |
---|---|---|
committer | 2020-10-09 12:34:06 -0600 | |
commit | 0546858c59fb90122ca8c820e6aa221925a13bd8 (patch) | |
tree | 7666ed621ff7392017b51cf98946df76294c8d4e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | block: fix comment and add lockdep assert (diff) | |
download | wireguard-linux-0546858c59fb90122ca8c820e6aa221925a13bd8.tar.xz wireguard-linux-0546858c59fb90122ca8c820e6aa221925a13bd8.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions