aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorVicki Pfau <[email protected]>2025-02-05 03:55:28 +0000
committerJiri Kosina <[email protected]>2025-02-07 13:28:12 +0000
commit41ab65301d0319df771bce29ee6c07fc112cebd9 (patch)
tree3fc7f3e7e2fc0e5d37d88e48c2cd7b4b3b501ddc /net/unix/unix_bpf.c
parentMerge tag 'hid-for-linus-2025012001' of git://git.kernel.org/pub/scm/linux/ke... (diff)
downloadkernel-41ab65301d0319df771bce29ee6c07fc112cebd9.tar.gz
kernel-41ab65301d0319df771bce29ee6c07fc112cebd9.zip
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 <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions