diff options
| author | Yufen Yu <[email protected]> | 2020-10-08 23:26:32 -0400 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2020-10-09 12:34:06 -0600 |
| commit | 0546858c59fb90122ca8c820e6aa221925a13bd8 (patch) | |
| tree | 7666ed621ff7392017b51cf98946df76294c8d4e /net/unix/af_unix.c | |
| parent | f0c6ae09db1d39cbcf35776f889e0f7f861493d2 (diff) | |
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]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions