mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-18 02:40:08 +00:00
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:
parent
1b66b1bd7c
commit
22460525a0
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user