From 1d57eda9090da99d75a7633c39f0c1aabe8a7766 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 11 Jun 2019 10:19:55 +1000 Subject: [PATCH] test: remove a duplicate check We already checked that pointer a few lines earlier Signed-off-by: Peter Hutterer --- test/litest.c | 1 - 1 file changed, 1 deletion(-) diff --git a/test/litest.c b/test/litest.c index 3432a53d..21456cbf 100644 --- a/test/litest.c +++ b/test/litest.c @@ -1551,7 +1551,6 @@ litest_add_device_with_overrides(struct libinput *libinput, d->quirks = quirks_fetch_for_device(quirks_context, ud); udev_device_unref(ud); - litest_assert_ptr_notnull(d->libinput_device); libinput_device_ref(d->libinput_device); if (d->interface) {