From owner-svn-src-projects@FreeBSD.ORG Wed Jul 6 21:40:48 2011 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66E87106566C; Wed, 6 Jul 2011 21:40:48 +0000 (UTC) (envelope-from neel@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5748C8FC13; Wed, 6 Jul 2011 21:40:48 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p66Lema1032962; Wed, 6 Jul 2011 21:40:48 GMT (envelope-from neel@svn.freebsd.org) Received: (from neel@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p66LemEK032960; Wed, 6 Jul 2011 21:40:48 GMT (envelope-from neel@svn.freebsd.org) Message-Id: <201107062140.p66LemEK032960@svn.freebsd.org> From: Neel Natu Date: Wed, 6 Jul 2011 21:40:48 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r223826 - projects/bhyve/sys/amd64/vmm/io X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jul 2011 21:40:48 -0000 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;