kern: remove stray log in SetHeapSize

This commit is contained in:
Michael Scire 2020-07-31 14:54:10 -07:00 committed by SciresM
parent e435f56367
commit 89f1c0ce33

View file

@ -22,8 +22,6 @@ namespace ams::kern::svc {
namespace { namespace {
Result SetHeapSize(uintptr_t *out_address, size_t size) { Result SetHeapSize(uintptr_t *out_address, size_t size) {
MESOSPHERE_LOG("%s: SetHeapSize(%012zx)\n", GetCurrentProcess().GetName(), size);
/* Validate size. */ /* Validate size. */
R_UNLESS(util::IsAligned(size, ams::svc::HeapSizeAlignment), svc::ResultInvalidSize()); R_UNLESS(util::IsAligned(size, ams::svc::HeapSizeAlignment), svc::ResultInvalidSize());
R_UNLESS(size < ams::kern::MainMemorySize, svc::ResultInvalidSize()); R_UNLESS(size < ams::kern::MainMemorySize, svc::ResultInvalidSize());