Skip to content
Commit 98d67f25 authored by Hangyu Hua's avatar Hangyu Hua Committed by Benjamin Tissoires
Browse files

hid: hid-logitech-hidpp: avoid unnecessary assignments in hidpp_connect_event



hidpp->delayed_input can't be assigned to an object that already call
input_free_device when input_register_device fails.

Fixes: c39e3d5f ("HID: logitech-hidpp: late bind the input device on wireless connection")
Signed-off-by: default avatarHangyu Hua <hbh25y@gmail.com>
Signed-off-by: default avatarBenjamin Tissoires <benjamin.tissoires@redhat.com>
Link: https://lore.kernel.org/r/20220812025515.19467-1-hbh25y@gmail.com
parent 908d325e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment