x86/sgx: Drop 'page_index' from sgx_backing
authorSean Christopherson <sean.j.christopherson@intel.com>
Fri, 8 Jul 2022 16:21:24 +0000 (09:21 -0700)
committerDave Hansen <dave.hansen@linux.intel.com>
Fri, 8 Jul 2022 16:31:11 +0000 (09:31 -0700)
commite0a5915f1cca21da8ffc0563aea9fa1df5d16fb4
tree62864e3756194eae145dff9352e2866b89a0a3e2
parent6507cce561b43b071999502103804e3dc1478e60
x86/sgx: Drop 'page_index' from sgx_backing

Storing the 'page_index' value in the sgx_backing struct is
dead code and no longer needed.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Kristen Carlson Accardi <kristen@linux.intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Link: https://lkml.kernel.org/r/20220708162124.8442-1-kristen@linux.intel.com
arch/x86/kernel/cpu/sgx/encl.c
arch/x86/kernel/cpu/sgx/encl.h