[PATCH for_v25 4/4] selftests/x86: Remove redundant kernel include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The SGX selftests incorporate any and all necessary kernel includes in
defines.h, remove redundant includes from main.c so that the obnoxiously
long paths don't need to be updated if the kernel files are renamed.

Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
---
 tools/testing/selftests/x86/sgx/main.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/testing/selftests/x86/sgx/main.c b/tools/testing/selftests/x86/sgx/main.c
index a94ba894b020..d97cc3cf0093 100644
--- a/tools/testing/selftests/x86/sgx/main.c
+++ b/tools/testing/selftests/x86/sgx/main.c
@@ -16,8 +16,6 @@
 #include <sys/time.h>
 #include <sys/types.h>
 #include "defines.h"
-#include "../../../../../arch/x86/kernel/cpu/sgx/arch.h"
-#include "../../../../../arch/x86/include/uapi/asm/sgx.h"
 #include "sgx_call.h"
 
 #define PAGE_SIZE  4096
-- 
2.24.1




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux