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…
Reference in New Issue