From 816c5bd92fdadeecdc8a7740342d1f7c5d8a78d7 Mon Sep 17 00:00:00 2001 From: Tao Zhang Date: Mon, 3 Aug 2020 18:45:09 -0400 Subject: [PATCH] [Pal/Linux-SGX] Fix compilation error with PRINT_ENCLAVE_STAT enabled Remove reference to print_alloced_pages() which no longer exists. --- Pal/src/host/Linux-SGX/db_process.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Pal/src/host/Linux-SGX/db_process.c b/Pal/src/host/Linux-SGX/db_process.c index b923548f..017b16d2 100644 --- a/Pal/src/host/Linux-SGX/db_process.c +++ b/Pal/src/host/Linux-SGX/db_process.c @@ -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);