mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-14 05:08:19 +00:00
base: remove integer return codes from PD-session
The return code of assign_parent remained unused. So this patch removes it. The bind_thread function fails only due to platform-specific limitations such as the exhaustion of ID name spaces, which cannot be sensibly handled by the PD-session client. If occurred, such conditions used to be reflected by integer return codes that were used for diagnostic messages only. The patch removes the return codes and leaves the diagnostic output to core. Fixes #1842
This commit is contained in:
committed by
Christian Helmuth
parent
93b82c14ac
commit
e20bbe7002
@ -17,13 +17,12 @@
|
||||
using namespace Genode;
|
||||
|
||||
|
||||
int Pd_session_component::bind_thread(Thread_capability) { return -1; }
|
||||
void Pd_session_component::bind_thread(Thread_capability) { }
|
||||
|
||||
|
||||
int Pd_session_component::assign_parent(Capability<Parent> parent)
|
||||
void Pd_session_component::assign_parent(Capability<Parent> parent)
|
||||
{
|
||||
_parent = parent;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user