mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
Remove replenish error message from quota guard
This commit is contained in:
parent
064e738d53
commit
d72517e673
@ -118,9 +118,6 @@ class Genode::Quota_guard_untyped
|
||||
{
|
||||
bool const underflow = (amount > _used);
|
||||
|
||||
if (underflow)
|
||||
error("attempt to replenish more quota than withdrawn");
|
||||
|
||||
/* clamp lower bound of used value to zero */
|
||||
_used = underflow ? 0 : _used - amount;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user