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

[Xen-devel] [PATCH] vm86.c - remove unused variables



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@xxxxxxxxxxxxxxx)

--
------------------------------------------------------------------------
Ben Thomas                                         Virtual Iron Software
bthomas@xxxxxxxxxxxxxxx                            Tower 1, Floor 2
978-849-1214                                       900 Chelmsford Street
                                                    Lowell, MA 01851

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)

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.