* [PATCH] vm86.c - remove unused variables
@ 2006-11-14 0:20 Ben Thomas
0 siblings, 0 replies; only message in thread
From: Ben Thomas @ 2006-11-14 0:20 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
Trivial change to remove unused variables and, more
importantly to me, the compiler's complaining about it (I'm
tired of seeing them)
Signed-off-by: Ben Thomas (ben@virtualiron.com)
--
------------------------------------------------------------------------
Ben Thomas Virtual Iron Software
bthomas@virtualiron.com Tower 1, Floor 2
978-849-1214 900 Chelmsford Street
Lowell, MA 01851
[-- Attachment #2: vm86_unused.patch --]
[-- Type: text/x-patch, Size: 521 bytes --]
diff -r bfe3f8f35e87 tools/firmware/vmxassist/vm86.c
--- a/tools/firmware/vmxassist/vm86.c Mon Nov 13 13:58:08 2006 +0000
+++ b/tools/firmware/vmxassist/vm86.c Mon Nov 13 19:07:26 2006 -0500
@@ -816,9 +816,7 @@ static int
static int
mov_to_seg(struct regs *regs, unsigned prefix, unsigned opc)
{
- unsigned eip = regs->eip - 1;
unsigned modrm = fetch8(regs);
- unsigned addr = operand(prefix, regs, modrm);
/* Only need to emulate segment loads in real->protected mode. */
if (mode != VM86_REAL_TO_PROTECTED)
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-11-14 0:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14 0:20 [PATCH] vm86.c - remove unused variables Ben Thomas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.