From e87780e8035453d86d9a2632c989aa886206afdc Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 7 Feb 2019 15:00:39 +1000 Subject: [PATCH] udev: drop unused function Signed-off-by: Peter Hutterer --- udev/libinput-model-quirks.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/udev/libinput-model-quirks.c b/udev/libinput-model-quirks.c index 020be6a2..bb05886c 100644 --- a/udev/libinput-model-quirks.c +++ b/udev/libinput-model-quirks.c @@ -35,22 +35,6 @@ #include "libinput-util.h" -static inline const char * -prop_value(struct udev_device *device, - const char *prop_name) -{ - struct udev_device *parent; - const char *prop_value = NULL; - - parent = device; - while (parent && !prop_value) { - prop_value = udev_device_get_property_value(parent, prop_name); - parent = udev_device_get_parent(parent); - } - - return prop_value; -} - /** * For a non-zero fuzz on the x/y axes, print that fuzz as property and * reset the kernel's fuzz to 0.