From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ben Thomas Subject: [PATCH] vm86.c - remove unused variables Date: Mon, 13 Nov 2006 19:20:43 -0500 Message-ID: <45590BDB.8040204@virtualiron.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------070409070807000505020806" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org This is a multi-part message in MIME format. --------------070409070807000505020806 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------070409070807000505020806 Content-Type: text/x-patch; name="vm86_unused.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="vm86_unused.patch" 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) --------------070409070807000505020806 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------070409070807000505020806--