diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-07-11 06:38:29 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-07-17 09:25:39 -0400 |
commit | c4cf2d8df1dd9061cdc873e0ddb41deafa228b9d (patch) | |
tree | 15ddd5bcdb03b2e1f0ccb96b26d52de0b74bcd28 | |
parent | 092150a25cb7bd6a79aa00bb1ad131063f58073d (diff) |
HID: elan: Remove unused max_area_x and max_area_y vatiables
max_area_x and max_area_y are initialized but never used anywhere,
drop them.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | drivers/hid/hid-elan.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/hid/hid-elan.c b/drivers/hid/hid-elan.c index 803a725785cf..966fe36fab41 100644 --- a/drivers/hid/hid-elan.c +++ b/drivers/hid/hid-elan.c | |||
@@ -31,8 +31,6 @@ struct elan_touchpad_settings { | |||
31 | u8 max_fingers; | 31 | u8 max_fingers; |
32 | u16 max_x; | 32 | u16 max_x; |
33 | u16 max_y; | 33 | u16 max_y; |
34 | u8 max_area_x; | ||
35 | u8 max_area_y; | ||
36 | u8 max_w; | 34 | u8 max_w; |
37 | int usb_bInterfaceNumber; | 35 | int usb_bInterfaceNumber; |
38 | }; | 36 | }; |
@@ -390,8 +388,6 @@ static const struct elan_touchpad_settings hp_x2_10_touchpad_data = { | |||
390 | .max_fingers = 5, | 388 | .max_fingers = 5, |
391 | .max_x = 2930, | 389 | .max_x = 2930, |
392 | .max_y = 1250, | 390 | .max_y = 1250, |
393 | .max_area_x = 15, | ||
394 | .max_area_y = 15, | ||
395 | .max_w = 255, | 391 | .max_w = 255, |
396 | .usb_bInterfaceNumber = 1, | 392 | .usb_bInterfaceNumber = 1, |
397 | }; | 393 | }; |