]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
HID: elan: Remove unused max_area_x and max_area_y vatiables
authorHans de Goede <hdegoede@redhat.com>
Wed, 11 Jul 2018 10:38:29 +0000 (12:38 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Jul 2018 13:25:39 +0000 (15:25 +0200)
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>
drivers/hid/hid-elan.c

index 803a725785cfda738da2fde0d00802cc3990d1da..966fe36fab410825deeb72f14a7f4e5717c4672c 100644 (file)
@@ -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,
 };