HID: hid-lg4ff: Remove unused variable from the "lg4ff_device_entry" struct.
authorMichal Malý <madcatxster@devoid-pointer.net>
Wed, 8 Apr 2015 20:56:42 +0000 (22:56 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 7 May 2015 14:27:08 +0000 (16:27 +0200)
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>
drivers/hid/hid-lg4ff.c

index cec84a583b9bf9de9e09971c0a7c6214825d82d5..d1d5d45445a65481a00f8bd29c1c0717dbf6a736 100644 (file)
@@ -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);
 };