Browse Source

HID: hid-lg4ff: Remove unused variable from the "lg4ff_device_entry" struct.

Remove unused variable from the "lg4ff_device_entry" struct. This is a leftover
from times where hid_get|set_drvdata() was not available to hid-lg4ff so it had
to keep track of the devices it managed by itself.

Signed-off-by: Michal Malý <madcatxster@devoid-pointer.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Michal Malý 10 years ago
parent
commit
0a33a7bcb5
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/hid/hid-lg4ff.c

+ 0 - 1
drivers/hid/hid-lg4ff.c

@@ -84,7 +84,6 @@ struct lg4ff_device_entry {
 	const char *real_tag;
 	const char *real_name;
 	u16 real_product_id;
-	struct list_head list;
 	void (*set_range)(struct hid_device *hid, u16 range);
 };