* [PATCH for_v25] x86/sgx: Remove unused SGX_DRV_NR_DEVICES define
@ 2020-01-14 21:56 Sean Christopherson
0 siblings, 0 replies; only message in thread
From: Sean Christopherson @ 2020-01-14 21:56 UTC (permalink / raw)
To: Jarkko Sakkinen; +Cc: linux-sgx
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(-)
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-01-14 21:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-14 21:56 [PATCH for_v25] x86/sgx: Remove unused SGX_DRV_NR_DEVICES define Sean Christopherson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).