Remove an unwanted param when invoking ENCLS_WARN on EREMOVE failure. Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx> --- arch/x86/kernel/cpu/sgx/reclaim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/cpu/sgx/reclaim.c b/arch/x86/kernel/cpu/sgx/reclaim.c index 9afe5e7d50a6..eb5008c37b64 100644 --- a/arch/x86/kernel/cpu/sgx/reclaim.c +++ b/arch/x86/kernel/cpu/sgx/reclaim.c @@ -352,7 +352,7 @@ static void sgx_reclaimer_write(struct sgx_epc_page *epc_page, if (atomic_read(&encl->flags) & SGX_ENCL_DEAD) { ret = __eremove(sgx_epc_addr(epc_page)); - ENCLS_WARN(ret, "EREMOVE returned %d\n", ret); + ENCLS_WARN(ret, "EREMOVE returned %d\n"); } else { sgx_encl_ewb(epc_page, backing); } -- 2.24.1