platform_session/dma_buffer: remove 'retry_with_upgrade'

'retry_with_upgrade' is called by 'platform_session/connection.h' ->
'alloc_dma_buffer' already.

issue #4667
This commit is contained in:
Sebastian Sumpf 2022-11-11 10:10:59 +01:00 committed by Christian Helmuth
parent 1b66b1bd7c
commit 22460525a0

View File

@ -29,11 +29,8 @@ class Platform::Dma_buffer : Noncopyable
size_t const size;
Cache const cache;
Ram_dataspace_capability _alloc()
{
return platform.retry_with_upgrade(Ram_quota{4096}, Cap_quota{2},
[&] () { return platform.alloc_dma_buffer(size, cache); });
}
Ram_dataspace_capability _alloc() {
return platform.alloc_dma_buffer(size, cache); }
Ram_dataspace_capability cap = _alloc();