From: Michal Malý Date: Wed, 8 Apr 2015 20:56:42 +0000 (+0200) Subject: HID: hid-lg4ff: Remove unused variable from the "lg4ff_device_entry" struct. X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0a33a7bcb5af29f8936b49dfe7b2b5bc932ad03d;p=openwrt%2Fstaging%2Fblogic.git 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ý Signed-off-by: Jiri Kosina --- 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); };