summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-02-07 15:00:39 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-02-07 15:01:33 +1000
commite87780e8035453d86d9a2632c989aa886206afdc (patch)
tree81b5ed7cd0059831b13e0c5f581247dbccc5c0ed /udev
parenteb48a9e9b9b7934a776bed1a70e9ddc599e2d1e2 (diff)
downloadlibinput-e87780e8035453d86d9a2632c989aa886206afdc.tar.gz
udev: drop unused function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'udev')
-rw-r--r--udev/libinput-model-quirks.c16
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.