]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4902ff84006285196faf2009036298793b45294c
tree62864e3756194eae145dff9352e2866b89a0a3e2
parent304fa6eec78bd11ab5f1708e8b77daefa1071c69
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