diff options
Diffstat (limited to 'udev/libinput-model-quirks.c')
-rw-r--r-- | udev/libinput-model-quirks.c | 16 |
1 files changed, 0 insertions, 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. |