Skip to content

Commit 0db1674

Browse files
Jiri Slaby (SUSE)Jiri Kosina
authored andcommitted
HID: hid-lg3ff: remove unused struct lg3ff_device
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) <[email protected]> Cc: Gary Stein <[email protected]> Cc: Jiri Kosina <[email protected]> Cc: Benjamin Tissoires <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
1 parent ed94a8f commit 0db1674

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/hid/hid-lg3ff.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,6 @@
4141
* I'm sure these are effects that I don't know enough about them
4242
*/
4343

44-
struct lg3ff_device {
45-
struct hid_report *report;
46-
};
47-
4844
static int hid_lg3ff_play(struct input_dev *dev, void *data,
4945
struct ff_effect *effect)
5046
{

0 commit comments

Comments
 (0)