base: fix gcc-6.3 warning (check null ref)

The check that triggers the warning was solely in place for diagnostic
purposes. We can remove it.
This commit is contained in:
Norman Feske 2017-04-21 14:53:30 +02:00 committed by Christian Helmuth
parent 1220a06c3b
commit 11aadd4ce8

View File

@ -191,10 +191,6 @@ class Genode::Capability_space_tpl
Capability_space::Ipc_cap_data ipc_cap_data(Data const &data) const
{
if (&data == nullptr) {
raw("ipc_cap_data nullptr");
for (;;);
}
return { data.dst, data.rpc_obj_key() };
}