Skip to contentSkip to conversation

Patch "x86/kvm/vmx: remove unused variable in segment_base()" has been added to the 4.9-stable tree

PATCH [email protected] 1 participant 1 message Dec 21, 2017

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

x86/kvm/vmx: remove unused variable in segment_base()

to the 4.9-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
x86-kvm-vmx-remove-unused-variable-in-segment_base.patch
and it can be found in the queue-4.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

Quoted 1 line

From 0fce546f9f07b94ccc9de09cf48d35e18946d2fa Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lefaure?= <[email protected]>
Date: Sat, 25 Feb 2017 17:46:53 -0500
Subject: x86/kvm/vmx: remove unused variable in segment_base()
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

From: Jérémy Lefaure <[email protected]>

commit 0fce546f9f07b94ccc9de09cf48d35e18946d2fa upstream.

The pointer 'struct desc_struct *d' is unused since commit 8c2e41f7ae12 ("x86/kvm/vmx: Simplify segment_base()") so let's remove it.

---
 arch/x86/kvm/vmx.c |    1 -
 1 file changed, 1 deletion(-)
arch/x86/kvm/vmx.c +0 -1
@@ -2016,7 +2016,6 @@ static bool update_transition_efer(struc
 static unsigned long segment_base(u16 selector)
 {
 	struct desc_ptr *gdt = this_cpu_ptr(&host_gdt);
-	struct desc_struct *d;
 	struct desc_struct *table;
 	unsigned long v;
 

Patches currently in stable-queue which might be from [email protected] are

queue-4.9/x86-kvm-vmx-remove-unused-variable-in-segment_base.patch