projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eb1d0f
)
x86/kvm/vmx: remove unused variable in segment_base()
author
Jérémy Lefaure
<jeremy.lefaure@lse.epita.fr>
Sat, 25 Feb 2017 22:46:53 +0000
(17:46 -0500)
committer
Radim Krčmář
<rkrcmar@redhat.com>
Wed, 1 Mar 2017 16:03:24 +0000
(17:03 +0100)
The pointer 'struct desc_struct *d' is unused since commit
8c2e41f7ae12
("x86/kvm/vmx: Simplify segment_base()") so let's remove it.
Signed-off-by: Jérémy Lefaure <jeremy.lefaure@lse.epita.fr>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86/kvm/vmx.c
b/arch/x86/kvm/vmx.c
index ef4ba71dbb66a50eab012c5f6e303a559bde1a71..764f1f897847b1bb7ba5e125785de34b4d70107d 100644
(file)
--- a/
arch/x86/kvm/vmx.c
+++ b/
arch/x86/kvm/vmx.c
@@
-2053,7
+2053,6
@@
static bool update_transition_efer(struct vcpu_vmx *vmx, int efer_offset)
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;