diff mbox series

[3/4] x86/sgx: Remove a deperecated enum

Message ID 20190823161616.27644-4-jarkko.sakkinen@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series Remaining updates for v22 | expand

Commit Message

Jarkko Sakkinen Aug. 23, 2019, 4:16 p.m. UTC
&sgx_encl_mm_iter is no longer used for anything.

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

Patch

diff --git a/arch/x86/kernel/cpu/sgx/encl.h b/arch/x86/kernel/cpu/sgx/encl.h
index cc1f8c4b1472..37b5c4bcda7a 100644
--- a/arch/x86/kernel/cpu/sgx/encl.h
+++ b/arch/x86/kernel/cpu/sgx/encl.h
@@ -109,12 +109,6 @@  static inline unsigned long sgx_pcmd_offset(pgoff_t page_index)
 	       sizeof(struct sgx_pcmd);
 }
 
-enum sgx_encl_mm_iter {
-	SGX_ENCL_MM_ITER_DONE		= 0,
-	SGX_ENCL_MM_ITER_NEXT		= 1,
-	SGX_ENCL_MM_ITER_RESTART	= 2,
-};
-
 int sgx_encl_find(struct mm_struct *mm, unsigned long addr,
 		  struct vm_area_struct **vma);
 void sgx_encl_destroy(struct sgx_encl *encl);