[PATCH libevdev 2/4] uinput: drop an unused argument
Peter Hutterer
peter.hutterer at who-t.net
Thu Apr 7 01:34:46 UTC 2016
Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
---
libevdev/libevdev-uinput.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libevdev/libevdev-uinput.c b/libevdev/libevdev-uinput.c
index 24e049f..1316952 100644
--- a/libevdev/libevdev-uinput.c
+++ b/libevdev/libevdev-uinput.c
@@ -130,7 +130,7 @@ out:
}
static int
-set_props(const struct libevdev *dev, int fd, struct uinput_user_dev *uidev)
+set_props(const struct libevdev *dev, int fd)
{
unsigned int prop;
int rc = 0;
@@ -305,7 +305,7 @@ libevdev_uinput_create_from_device(const struct libevdev *dev, int fd, struct li
if (set_evbits(dev, fd, &uidev) != 0)
goto error;
- if (set_props(dev, fd, &uidev) != 0)
+ if (set_props(dev, fd) != 0)
goto error;
rc = write(fd, &uidev, sizeof(uidev));
--
2.5.5
More information about the Input-tools
mailing list