Thread (77 messages) 77 messages, 8 authors, 2019-06-14
STALE2554d
Revisions (3)
  1. rfc current
  2. v2 [diff vs current]
  3. v4 [diff vs current]

[RFC PATCH 1/9] x86/sgx: Remove unused local variable in sgx_encl_release()

From: Sean Christopherson <hidden>
Date: 2019-05-31 23:32:33
Also in: lkml, selinux
Subsystem: intel sgx, the rest, x86 architecture (32-bit and 64-bit) · Maintainers: Jarkko Sakkinen, Linus Torvalds, Thomas Gleixner, Ingo Molnar, Borislav Petkov, Dave Hansen

Signed-off-by: Sean Christopherson <redacted>
---
 arch/x86/kernel/cpu/sgx/encl.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/cpu/sgx/encl.c b/arch/x86/kernel/cpu/sgx/encl.c
index 7216bdf07bd0..f23ea0fbaa47 100644
--- a/arch/x86/kernel/cpu/sgx/encl.c
+++ b/arch/x86/kernel/cpu/sgx/encl.c
@@ -463,7 +463,6 @@ EXPORT_SYMBOL_GPL(sgx_encl_destroy);
 void sgx_encl_release(struct kref *ref)
 {
 	struct sgx_encl *encl = container_of(ref, struct sgx_encl, refcount);
-	struct sgx_encl_mm *encl_mm;
 
 	if (encl->pm_notifier.notifier_call)
 		unregister_pm_notifier(&encl->pm_notifier);
-- 
2.21.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help