diff mbox series

x86/sgx: Remove unused field

Message ID 20191003171207.7945-1-jarkko.sakkinen@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series x86/sgx: Remove unused field | expand

Commit Message

Jarkko Sakkinen Oct. 3, 2019, 5:12 p.m. UTC
encl_mm->rcu is not used for anything.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
---
 arch/x86/kernel/cpu/sgx/encl.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/arch/x86/kernel/cpu/sgx/encl.h b/arch/x86/kernel/cpu/sgx/encl.h
index 71454f059b99..b8ecffe27c93 100644
--- a/arch/x86/kernel/cpu/sgx/encl.h
+++ b/arch/x86/kernel/cpu/sgx/encl.h
@@ -63,7 +63,6 @@  struct sgx_encl_mm {
 	struct mm_struct *mm;
 	struct list_head list;
 	struct mmu_notifier mmu_notifier;
-	struct rcu_head rcu;
 };
 
 struct sgx_encl {