HID: logitech-hidpp: remove double assignment from __hidpp_send_report
authorHans de Goede <hdegoede@redhat.com>
Sat, 20 Apr 2019 11:22:08 +0000 (13:22 +0200)
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>
Tue, 23 Apr 2019 16:02:44 +0000 (18:02 +0200)
commit205a2ab0c97bb3a532ca25a7ed1debb62706d83d
tree8d2a60f58078b7a6f34215c25c755aa9db8e7e13
parent2ddf07f388af6c8f0db3ec21e17ca0f06b9ec0cc
HID: logitech-hidpp: remove double assignment from __hidpp_send_report

The hidpp variable is already initialized with hid_get_drvdata(hdev)
when it is declared, drop the second no-op assignment.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
drivers/hid/hid-logitech-hidpp.c