From 25ab3d4615c6628eacddbb3705913a1a78a67ae1 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 25 Jan 2016 08:21:12 +1000 Subject: [PATCH] touchpad: remove unused field multitap_last_time Unused since d92ae62dad53afd894a Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-tap.c | 1 - src/evdev-mt-touchpad.h | 1 - 2 files changed, 2 deletions(-) diff --git a/src/evdev-mt-touchpad-tap.c b/src/evdev-mt-touchpad-tap.c index a4c38a81..5556ee94 100644 --- a/src/evdev-mt-touchpad-tap.c +++ b/src/evdev-mt-touchpad-tap.c @@ -561,7 +561,6 @@ tp_tap_multitap_handle_event(struct tp_dispatch *tp, break; case TAP_EVENT_TOUCH: tp->tap.state = TAP_STATE_MULTITAP_DOWN; - tp->tap.multitap_last_time = time; tp_tap_notify(tp, time, 1, LIBINPUT_BUTTON_STATE_PRESSED); tp_tap_set_timer(tp, time); break; diff --git a/src/evdev-mt-touchpad.h b/src/evdev-mt-touchpad.h index 174fed6a..8564a103 100644 --- a/src/evdev-mt-touchpad.h +++ b/src/evdev-mt-touchpad.h @@ -312,7 +312,6 @@ struct tp_dispatch { struct libinput_timer timer; enum tp_tap_state state; uint32_t buttons_pressed; - uint64_t multitap_last_time; bool drag_lock_enabled; } tap;