[PATCH for_v25] x86/sgx: Remove unused SGX_DRV_NR_DEVICES define

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

 



Remove a define that got left behind when SGX moved to using standard
misc devices instead of manually creating the equivalent.

Fixes: e44714158119 ("x86/sgx: Linux Enclave Driver")
Signed-off-by: Sean Christopherson <sean.j.christopherson@xxxxxxxxx>
---
 arch/x86/kernel/cpu/sgx/driver.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/x86/kernel/cpu/sgx/driver.h b/arch/x86/kernel/cpu/sgx/driver.h
index eb68c0c872c3..72747d01c046 100644
--- a/arch/x86/kernel/cpu/sgx/driver.h
+++ b/arch/x86/kernel/cpu/sgx/driver.h
@@ -12,7 +12,6 @@
 #include <uapi/asm/sgx.h>
 #include "sgx.h"
 
-#define SGX_DRV_NR_DEVICES	2
 #define SGX_EINIT_SPIN_COUNT	20
 #define SGX_EINIT_SLEEP_COUNT	50
 #define SGX_EINIT_SLEEP_TIME	20
-- 
2.24.1




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

  Powered by Linux