HID: hid-lg3ff: remove unused struct lg3ff_device
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Thu, 1 Feb 2024 11:53:17 +0000 (12:53 +0100)
committerJiri Kosina <jkosina@suse.com>
Tue, 13 Feb 2024 10:43:55 +0000 (11:43 +0100)
struct lg3ff_device is present in the driver since its addition by
commit 74f292ca8c7a (HID: add driver for the Logitech Flight System
G940).

But it was never used, remove it.

Found by https://github.com/jirislaby/clang-struct.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Gary Stein <LordCnidarian@gmail.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-lg3ff.c

index b7e1949f3cf779de12accc337981406dd1910f26..109735b89b7a46385f3087175b008badfc681057 100644 (file)
  * I'm sure these are effects that I don't know enough about them
  */
 
-struct lg3ff_device {
-       struct hid_report *report;
-};
-
 static int hid_lg3ff_play(struct input_dev *dev, void *data,
                         struct ff_effect *effect)
 {