From owner-svn-src-projects@FreeBSD.ORG Sun Feb 3 23:54:30 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F1756C34; Sun, 3 Feb 2013 23:54:30 +0000 (UTC) (envelope-from bryanv@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id D92A1FCA; Sun, 3 Feb 2013 23:54:30 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r13NsUos093989; Sun, 3 Feb 2013 23:54:30 GMT (envelope-from bryanv@svn.freebsd.org) Received: (from bryanv@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r13NsUwx093988; Sun, 3 Feb 2013 23:54:30 GMT (envelope-from bryanv@svn.freebsd.org) Message-Id: <201302032354.r13NsUwx093988@svn.freebsd.org> From: Bryan Venteicher Date: Sun, 3 Feb 2013 23:54:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r246308 - projects/virtio/sys/dev/virtio/pci X-SVN-Group: projects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 03 Feb 2013 23:54:31 -0000 Author: bryanv Date: Sun Feb 3 23:54:30 2013 New Revision: 246308 URL: http://svnweb.freebsd.org/changeset/base/246308 Log: virtio_pci: Remove unused variable Approved by: grehan (implicit) Modified: projects/virtio/sys/dev/virtio/pci/virtio_pci.c Modified: projects/virtio/sys/dev/virtio/pci/virtio_pci.c ============================================================================== --- projects/virtio/sys/dev/virtio/pci/virtio_pci.c Sun Feb 3 23:35:53 2013 (r246307) +++ projects/virtio/sys/dev/virtio/pci/virtio_pci.c Sun Feb 3 23:54:30 2013 (r246308) @@ -896,11 +896,9 @@ vtpci_alloc_interrupt(struct vtpci_softc static int vtpci_alloc_intr_resources(struct vtpci_softc *sc) { - device_t dev; struct vtpci_interrupt *intr; int i, rid, flags, nvq_intrs, error; - dev = sc->vtpci_dev; rid = 0; flags = RF_ACTIVE;