projects
/
platform
/
upstream
/
libevdev.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97fb972
)
uinput: drop an unused argument
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 6 Apr 2016 06:04:22 +0000
(16:04 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Thu, 7 Apr 2016 01:04:59 +0000
(11:04 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
libevdev/libevdev-uinput.c
patch
|
blob
|
history
diff --git
a/libevdev/libevdev-uinput.c
b/libevdev/libevdev-uinput.c
index 24e049f5f5c88883890dd2d03baaf80ccc6fb7f6..1316952eaf9fe937c12dfa9bc138493f776c7653 100644
(file)
--- 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));