Skip to content

Commit

Permalink
udev: drop unused function
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
  • Loading branch information
whot committed Feb 7, 2019
1 parent eb48a9e commit e87780e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions udev/libinput-model-quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit e87780e

Please sign in to comment.