summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2016-03-17 09:35:19 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2016-03-17 09:35:19 +1000
commita1d8687a7910347f7ea1b8745b09589f228027ee (patch)
tree97bb7f0a72e5bd6fff38385b09c0256fc2b43241 /src
parentae7b2f77720f19ce3b6924bb3ecf706cabd17587 (diff)
touchpad: drop unused parameter
Left over from an earlier version of the t450 quirk (see a608d9dc2c70) and unused in the merged version. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src')
-rw-r--r--src/evdev-mt-touchpad.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/evdev-mt-touchpad.c b/src/evdev-mt-touchpad.c
index d0a8e27c..f634ec86 100644
--- a/src/evdev-mt-touchpad.c
+++ b/src/evdev-mt-touchpad.c
@@ -880,7 +880,7 @@ tp_position_fake_touches(struct tp_dispatch *tp)
}
static inline bool
-tp_need_motion_history_reset(struct tp_dispatch *tp, uint64_t time)
+tp_need_motion_history_reset(struct tp_dispatch *tp)
{
bool rc = false;
@@ -933,7 +933,7 @@ tp_process_state(struct tp_dispatch *tp, uint64_t time)
tp_unhover_touches(tp, time);
tp_position_fake_touches(tp);
- want_motion_reset = tp_need_motion_history_reset(tp, time);
+ want_motion_reset = tp_need_motion_history_reset(tp);
for (i = 0; i < tp->ntouches; i++) {
t = tp_get_touch(tp, i);