mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-03-24 01:34:04 +00:00
Remove duplicate line
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
@@ -1006,10 +1006,9 @@ EvdevReadInput(InputInfoPtr pInfo)
|
||||
len = mtdev_get(pEvdev->mtdev, pInfo->fd, ev, NUM_EVENTS) *
|
||||
sizeof(struct input_event);
|
||||
else
|
||||
len = read(pInfo->fd, &ev, sizeof(ev));
|
||||
#else
|
||||
len = read(pInfo->fd, &ev, sizeof(ev));
|
||||
#endif
|
||||
len = read(pInfo->fd, &ev, sizeof(ev));
|
||||
|
||||
if (len <= 0)
|
||||
{
|
||||
if (errno == ENODEV) /* May happen after resume */
|
||||
|
||||
Reference in New Issue
Block a user