udev: drop unused function
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 7 Feb 2019 05:00:39 +0000 (15:00 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Thu, 7 Feb 2019 05:01:33 +0000 (15:01 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
udev/libinput-model-quirks.c

index 020be6a2b5ddfa89181ebea8fd2558e79cbf0e52..bb05886c252da91b286c5fd572878251870e67bd 100644 (file)
 
 #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.