diff options
author | Vicki Pfau <vi@endrift.com> | 2025-02-05 06:55:28 +0300 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.com> | 2025-02-07 16:28:12 +0300 |
commit | 41ab65301d0319df771bce29ee6c07fc112cebd9 (patch) | |
tree | 3fc7f3e7e2fc0e5d37d88e48c2cd7b4b3b501ddc /tools/perf/scripts/python/task-analyzer.py | |
parent | 27c02784773a69fd896e42f3cec73be8c5c83c1f (diff) | |
download | linux-41ab65301d0319df771bce29ee6c07fc112cebd9.tar.xz |
HID: hid-steam: Mutex cleanup in steam_set_lizard_mode()
Both branches of this if/else start with mutex_lock and end with mutex_unlock.
This hoists the mutex lock/unlock outside of the if statement for simplicity.
Signed-off-by: Vicki Pfau <vi@endrift.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions