From: Martin Wilck <mwilck@xxxxxxxx> clang warns about this (udev_device->property_list can't be NULL). Signed-off-by: Martin Wilck <mwilck@xxxxxxxx> --- tests/blacklist.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/blacklist.c b/tests/blacklist.c index 733ee398..6e7c1864 100644 --- a/tests/blacklist.c +++ b/tests/blacklist.c @@ -40,8 +40,6 @@ struct udev_list_entry * __wrap_udev_device_get_properties_list_entry(struct udev_device *udev_device) { assert_non_null(udev_device); - if (!udev_device->property_list) - return NULL; if (!*udev_device->property_list) return NULL; return (struct udev_list_entry *)udev_device->property_list; -- 2.23.0 -- dm-devel mailing list dm-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/dm-devel