core: remove quota-related diagnostic messages

Issue #3578
This commit is contained in:
Norman Feske 2019-12-04 16:27:52 +01:00 committed by Christian Helmuth
parent 5820ad8309
commit 298f317f44
2 changed files with 1 additions and 7 deletions

View File

@ -146,10 +146,8 @@ class Genode::Account
throw Unrelated_account(); throw Unrelated_account();
/* make sure to stay within the initial limit */ /* make sure to stay within the initial limit */
if (amount.value > _transferrable_quota().value) { if (amount.value > _transferrable_quota().value)
error(_label, ": attempt to transfer initial quota");
throw Limit_exceeded(); throw Limit_exceeded();
}
/* downgrade from this account */ /* downgrade from this account */
if (!_quota_guard.try_downgrade(amount)) if (!_quota_guard.try_downgrade(amount))

View File

@ -147,8 +147,6 @@ void Pd_session_component::transfer_quota(Capability<Pd_session> pd_cap,
warning("attempt to transfer cap quota to unrelated PD session"); warning("attempt to transfer cap quota to unrelated PD session");
throw Invalid_session(); } throw Invalid_session(); }
catch (Account<Cap_quota>::Limit_exceeded) { catch (Account<Cap_quota>::Limit_exceeded) {
warning("cap limit (", *_cap_account, ") exceeded "
"during transfer_quota(", amount, ")");
throw Out_of_caps(); } throw Out_of_caps(); }
}); });
} }
@ -174,8 +172,6 @@ void Pd_session_component::transfer_quota(Capability<Pd_session> pd_cap,
warning("attempt to transfer RAM quota to unrelated PD session"); warning("attempt to transfer RAM quota to unrelated PD session");
throw Invalid_session(); } throw Invalid_session(); }
catch (Account<Ram_quota>::Limit_exceeded) { catch (Account<Ram_quota>::Limit_exceeded) {
warning("RAM limit (", *_ram_account, ") exceeded "
"during transfer_quota(", amount, ")");
throw Out_of_ram(); } throw Out_of_ram(); }
}); });
} }