mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 13:30:27 +01:00
udev: drop unused function
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
eb48a9e9b9
commit
e87780e803
1 changed files with 0 additions and 16 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue