From: Peter Hutterer Date: Fri, 13 Jul 2018 00:55:44 +0000 (+1000) Subject: tap: remove unnecessary TAP_STATE_DEAD assignment X-Git-Tag: 1.11.901~60 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=847e0b68bc3003ccd6479e10b5efaf78acb400c4;p=platform%2Fupstream%2Flibinput.git tap: remove unnecessary TAP_STATE_DEAD assignment All palm touches are set to DEAD anyway. Signed-off-by: Peter Hutterer --- diff --git a/src/evdev-mt-touchpad-tap.c b/src/evdev-mt-touchpad-tap.c index e3e051c..90335e1 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: