[Pal/Linux-SGX] Fix compilation error with PRINT_ENCLAVE_STAT enabled

Remove reference to print_alloced_pages() which no longer exists.
This commit is contained in:
Tao Zhang
2020-08-04 16:04:30 +00:00
committed by Dmitrii Kuvaiskii
parent 1e19e2a241
commit 816c5bd92f
-5
View File
@@ -348,13 +348,8 @@ int init_child_process (PAL_HANDLE * parent_handle)
return 0;
}
void print_alloced_pages (void);
noreturn void _DkProcessExit (int exitcode)
{
#if PRINT_ENCLAVE_STAT
print_alloced_pages();
#endif
if (exitcode)
SGX_DBG(DBG_I, "DkProcessExit: Returning exit code %d\n", exitcode);
ocall_exit(exitcode, /*is_exitgroup=*/true);