base: remove allocation warning in heap

The heap typically first tries to allocate larger chunks than necessary, and
if it fails the actual minimal one. The first attempt already triggers warnings
which are not critical at all. If the second (critical) allocation fails,
then there are additionally checks and warnings already in place.

Issue #1039
This commit is contained in:
Alexander Boettcher 2016-11-24 10:28:16 +01:00 committed by Christian Helmuth
parent 1018dbc89a
commit b8f9f92731
1 changed files with 0 additions and 1 deletions

View File

@ -90,7 +90,6 @@ Heap::Dataspace *Heap::_allocate_dataspace(size_t size, bool enforce_separate_me
new_ds_cap = _ds_pool.ram_session->alloc(size);
ds_addr = _ds_pool.region_map->attach(new_ds_cap);
} catch (Ram_session::Alloc_failed) {
warning("could not allocate new dataspace of size ", size);
return 0;
} catch (Region_map::Attach_failed) {
warning("could not attach dataspace");