dinput: Don't report that we cannot open a device.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2019-05-04 05:30:49 +00:00 committed by Alexandre Julliard
parent 9e6afc62b3
commit b59f8c0c50
1 changed files with 0 additions and 3 deletions

View File

@ -211,10 +211,7 @@ static void find_joydevs(void)
}
if (fd == -1)
{
WARN("Failed to open \"%s\": %d %s\n", buf, errno, strerror(errno));
continue;
}
if (ioctl(fd, EVIOCGBIT(0, sizeof(joydev.evbits)), joydev.evbits) == -1)
{