summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-lg4ff.c
diff options
context:
space:
mode:
authorMichal Malý <madcatxster@devoid-pointer.net>2015-04-08 22:56:42 +0200
committerJiri Kosina <jkosina@suse.cz>2015-05-07 16:27:08 +0200
commit0a33a7bcb5af29f8936b49dfe7b2b5bc932ad03d (patch)
treebb8fc2d65197ff4f78c7802ddc7d8323a1668da4 /drivers/hid/hid-lg4ff.c
parentHID: hid-lg4ff: Replace DEVICE_ATTR_RW with DEVICE_ATTR to have all internal ... (diff)
downloadlinux-0a33a7bcb5af29f8936b49dfe7b2b5bc932ad03d.tar.xz
linux-0a33a7bcb5af29f8936b49dfe7b2b5bc932ad03d.zip
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>
Diffstat (limited to 'drivers/hid/hid-lg4ff.c')
-rw-r--r--drivers/hid/hid-lg4ff.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index cec84a583b9b..d1d5d45445a6 100644
--- a/drivers/hid/hid-lg4ff.c
+++ b/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);
};