Remove SGX definitions that have never had in-tree users and reuse SGX_LAUNCH_TOKEN_SIZE when validating the launch token in __sgx_virt_einit().
Changes in v2: - Adjust commit message 3/3 as suggested by Kai - v1: https://lore.kernel.org/r/[email protected]/ Thorsten Blum (3): x86/sgx: Remove unused TCS definitions x86/sgx: Remove unused size and count definitions x86/sgx: Use SGX_LAUNCH_TOKEN_SIZE in __sgx_virt_einit() arch/x86/include/asm/sgx.h | 59 ---------------------------------- arch/x86/kernel/cpu/sgx/virt.c | 3 +- 2 files changed, 1 insertion(+), 61 deletions(-) base-commit: 2d3090a8aeb596a26935db0955d46c9a5db5c6ce

