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:
Peter Hutterer 2014-02-10 11:22:39 +10:00
parent e8c20c7241
commit f6e8160ce1

View file

@ -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;
}