From: Ben Thomas <bthomas@virtualiron.com>
To: xen-devel@lists.xensource.com
Subject: [PATCH] vm86.c - remove unused variables
Date: Mon, 13 Nov 2006 19:20:43 -0500 [thread overview]
Message-ID: <45590BDB.8040204@virtualiron.com> (raw)
[-- 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
reply other threads:[~2006-11-14 0:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45590BDB.8040204@virtualiron.com \
--to=bthomas@virtualiron.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.