HID: hid-multitouch: remove unused mt_application::dev_time
authorJiri Slaby (SUSE) <jirislaby@kernel.org>
Thu, 1 Feb 2024 11:53:18 +0000 (12:53 +0100)
committerJiri Kosina <jkosina@suse.com>
Tue, 13 Feb 2024 10:43:55 +0000 (11:43 +0100)
dev_time was moved to struct mt_application in commit f146d1c4d7ea (HID:
multitouch: Store per collection multitouch data), but is not used since
then. Remove it.

Found by https://github.com/jirislaby/clang-struct.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/hid-multitouch.c

index fd5b0637dad683e7b20c929974c958e79936880c..40475c42b9f6e36cad053cb4f76372d17747456c 100644 (file)
@@ -130,7 +130,6 @@ struct mt_application {
                                 * > 1 means hybrid (multitouch) protocol
                                 */
 
-       __s32 dev_time;         /* the scan time provided by the device */
        unsigned long jiffies;  /* the frame's jiffies */
        int timestamp;          /* the timestamp to be sent */
        int prev_scantime;              /* scantime reported previously */