Remove replenish error message from quota guard

This commit is contained in:
Christian Helmuth 2018-02-26 17:13:34 +01:00
parent 064e738d53
commit d72517e673
1 changed files with 0 additions and 3 deletions

View File

@ -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;
}