mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-12 04:08:28 +00:00
libdrm/lima: remove try-catch from ioctl call
Remove the exception handling as at this point all exceptions should have been handled internally already. Issue #4760.
This commit is contained in:
committed by
Christian Helmuth
parent
b8d8ff6d4d
commit
401da72a86
@ -874,20 +874,14 @@ int lima_drm_ioctl(unsigned long request, void *arg)
|
|||||||
if (verbose_ioctl)
|
if (verbose_ioctl)
|
||||||
dump_ioctl(request);
|
dump_ioctl(request);
|
||||||
|
|
||||||
try {
|
int const ret = _drm->ioctl(request, arg);
|
||||||
int ret = _drm->ioctl(request, arg);
|
|
||||||
|
|
||||||
if (verbose_ioctl)
|
if (verbose_ioctl)
|
||||||
Genode::log("returned ", ret);
|
Genode::log("returned ", ret);
|
||||||
|
|
||||||
pthread_mutex_unlock(&ioctl_mutex);
|
|
||||||
|
|
||||||
return ret;
|
|
||||||
} catch (...) { }
|
|
||||||
|
|
||||||
pthread_mutex_unlock(&ioctl_mutex);
|
pthread_mutex_unlock(&ioctl_mutex);
|
||||||
|
|
||||||
return -1;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user