Skip to contentSkip to conversation

x86/sgx: Remove unused SGX_DRV_NR_DEVICES define

PATCH New Sean Christopherson 1 participant 1 message Jan 14, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86/sgx: Remove unused SGX_DRV_NR_DEVICES define

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")
---
 arch/x86/kernel/cpu/sgx/driver.h | 1 -
 1 file changed, 1 deletion(-)
arch/x86/kernel/cpu/sgx/driver.h +0 -1
index eb68c0c872c3..72747d01c046 100644
@@ -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
Signature · 1 line
2.24.1