From 847e0b68bc3003ccd6479e10b5efaf78acb400c4 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 13 Jul 2018 10:55:44 +1000 Subject: [PATCH] tap: remove unnecessary TAP_STATE_DEAD assignment All palm touches are set to DEAD anyway. Signed-off-by: Peter Hutterer --- src/evdev-mt-touchpad-tap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/evdev-mt-touchpad-tap.c b/src/evdev-mt-touchpad-tap.c index e3e051ca..90335e1a 100644 --- a/src/evdev-mt-touchpad-tap.c +++ b/src/evdev-mt-touchpad-tap.c @@ -186,7 +186,6 @@ tp_tap_idle_handle_event(struct tp_dispatch *tp, break; case TAP_EVENT_PALM: tp->tap.state = TAP_STATE_IDLE; - t->tap.state = TAP_TOUCH_STATE_DEAD; break; case TAP_EVENT_PALM_UP: break; @@ -239,7 +238,6 @@ tp_tap_touch_handle_event(struct tp_dispatch *tp, break; case TAP_EVENT_PALM: tp->tap.state = TAP_STATE_IDLE; - t->tap.state = TAP_TOUCH_STATE_DEAD; tp_tap_clear_timer(tp); break; case TAP_EVENT_PALM_UP: