Skip to content

Commit

Permalink
HID: hid-lg3ff: remove unused struct lg3ff_device
Browse files Browse the repository at this point in the history
struct lg3ff_device is present in the driver since its addition by
commit 74f292c (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>
  • Loading branch information
Jiri Slaby (SUSE) authored and Jiri Kosina committed Feb 13, 2024
1 parent ed94a8f commit 0db1674
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/hid/hid-lg3ff.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
* 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)
{
Expand Down

0 comments on commit 0db1674

Please sign in to comment.