summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools/libinput-record.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/libinput-record.c b/tools/libinput-record.c
index 169947df..0f1cb174 100644
--- a/tools/libinput-record.c
+++ b/tools/libinput-record.c
@@ -215,8 +215,6 @@ print_evdev_event(struct record_context *ctx, struct input_event *ev)
unsigned long time, dt;
time = us2ms(tv2us(&ev->time));
- if (last_ms == 0)
- last_ms = time;
dt = time - last_ms;
last_ms = time;