mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-27 11:30:06 +01:00
Revert "evdev: restore EVDEV_UNHANDLED_DEVICE error code"
This reverts commit e8c20c7241.
Ooops, bad rebase. This accesses the device after it was already destroyed
which is not the intent of the patch.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
e8c20c7241
commit
f6e8160ce1
1 changed files with 0 additions and 4 deletions
|
|
@ -668,10 +668,6 @@ err:
|
|||
if (fd >= 0)
|
||||
close_restricted(libinput, fd);
|
||||
evdev_device_destroy(device);
|
||||
|
||||
if (device->seat_caps == 0)
|
||||
return EVDEV_UNHANDLED_DEVICE;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue