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:
Norman Feske
2016-04-14 16:29:07 +02:00
committed by Christian Helmuth
parent 93b82c14ac
commit e20bbe7002
29 changed files with 83 additions and 145 deletions

View File

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