[PATCH v3 1/9] HID: elan: Remove unused max_area_x and max_area_y vatiables

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



max_area_x and max_area_y are initialized but never used anywhere,
drop them.

Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx>
---
 drivers/hid/hid-elan.c | 4 ----
 1 file changed, 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 {
 	u8 max_fingers;
 	u16 max_x;
 	u16 max_y;
-	u8 max_area_x;
-	u8 max_area_y;
 	u8 max_w;
 	int usb_bInterfaceNumber;
 };
@@ -390,8 +388,6 @@ static const struct elan_touchpad_settings hp_x2_10_touchpad_data = {
 	.max_fingers = 5,
 	.max_x = 2930,
 	.max_y = 1250,
-	.max_area_x = 15,
-	.max_area_y = 15,
 	.max_w = 255,
 	.usb_bInterfaceNumber = 1,
 };
-- 
2.17.1

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux