summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2017-06-02 08:14:26 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2017-06-02 10:53:53 +1000
commit09a8c5b505ab36aebbc8ab24ad4e700559cd2323 (patch)
tree61c8901f4d05f0809493d3c7ea2ff872ceb7ba74 /test
parentdbe519f1767e44a0ea229c882cab6b0ffe6383cb (diff)
test: remove unused litest_handle_events
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/litest.c14
-rw-r--r--test/litest.h3
2 files changed, 0 insertions, 17 deletions
diff --git a/test/litest.c b/test/litest.c
index c479780..ef47445 100644
--- a/test/litest.c
+++ b/test/litest.c
@@ -1441,20 +1441,6 @@ litest_create_device(enum litest_device_type which)
return litest_create_device_with_overrides(which, NULL, NULL, NULL, NULL);
}
-int
-litest_handle_events(struct litest_device *d)
-{
- struct pollfd fd;
-
- fd.fd = libinput_get_fd(d->libinput);
- fd.events = POLLIN;
-
- while (poll(&fd, 1, 1))
- libinput_dispatch(d->libinput);
-
- return 0;
-}
-
void
litest_delete_device(struct litest_device *d)
{
diff --git a/test/litest.h b/test/litest.h
index fc75816..a2cb6ee 100644
--- a/test/litest.h
+++ b/test/litest.h
@@ -410,9 +410,6 @@ litest_current_device(void);
void
litest_delete_device(struct litest_device *d);
-int
-litest_handle_events(struct litest_device *d);
-
void
litest_event(struct litest_device *t,
unsigned int type,