diff --git a/test/litest.c b/test/litest.c index c4797802..ef474455 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 fc758161..a2cb6ee3 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,