mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-24 17:00:07 +01:00
uinput: drop an unused argument
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
This commit is contained in:
parent
97fb972e41
commit
345a1589a5
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue