[for_v25] x86/sgx: Remove unused SGX_DRV_NR_DEVICES define
diff mbox series

Message ID 20200114215648.29248-1-sean.j.christopherson@intel.com
State New
Headers show
Series
  • [for_v25] x86/sgx: Remove unused SGX_DRV_NR_DEVICES define
Related show

Commit Message

Sean Christopherson Jan. 14, 2020, 9:56 p.m. UTC
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@intel.com>
---
 arch/x86/kernel/cpu/sgx/driver.h | 1 -
 1 file changed, 1 deletion(-)

Patch
diff mbox series

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