Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jul 2011 21:40:48 +0000 (UTC)
From:      Neel Natu <neel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r223826 - projects/bhyve/sys/amd64/vmm/io
Message-ID:  <201107062140.p66LemEK032960@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: neel
Date: Wed Jul  6 21:40:48 2011
New Revision: 223826
URL: http://svn.freebsd.org/changeset/base/223826

Log:
  Get rid of redundant initialization of 'dmask'. It was being re-initialized
  shortly afterwards.

Modified:
  projects/bhyve/sys/amd64/vmm/io/vlapic.c

Modified: projects/bhyve/sys/amd64/vmm/io/vlapic.c
==============================================================================
--- projects/bhyve/sys/amd64/vmm/io/vlapic.c	Wed Jul  6 20:06:44 2011	(r223825)
+++ projects/bhyve/sys/amd64/vmm/io/vlapic.c	Wed Jul  6 21:40:48 2011	(r223826)
@@ -443,8 +443,6 @@ lapic_process_icr(struct vlapic *vlapic,
 	cpuset_t dmask;
 	uint32_t dest, vec, mode;
 	
-	CPU_ZERO(&dmask);
-
 	dest = icrval >> 32;
 	vec = icrval & APIC_VECTOR_MASK;
 	mode = icrval & APIC_DELMODE_MASK;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107062140.p66LemEK032960>