[kvm-unit-tests PATCH v2 1/5] x86/emulator: Delete unused declarations (copy-pasted from realmode.c)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Delete unused declarations that were likely copy-pasted from realmode.c.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@xxxxxxxxxx>
---
 x86/emulator.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/x86/emulator.c b/x86/emulator.c
index 7d97774..322c466 100644
--- a/x86/emulator.c
+++ b/x86/emulator.c
@@ -17,20 +17,6 @@
 
 static int exceptions;
 
-struct regs {
-	u64 rax, rbx, rcx, rdx;
-	u64 rsi, rdi, rsp, rbp;
-	u64 r8, r9, r10, r11;
-	u64 r12, r13, r14, r15;
-	u64 rip, rflags;
-};
-struct regs inregs, outregs, save;
-
-struct insn_desc {
-	u64 ptr;
-	size_t len;
-};
-
 static char st1[] = "abcdefghijklmnop";
 
 static void test_stringio(void)
-- 
2.37.2.672.g94769d06f0-goog




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux