svn commit: r246308 - projects/virtio/sys/dev/virtio/pci

Bryan Venteicher bryanv at FreeBSD.org
Sun Feb 3 23:54:31 UTC 2013


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;
 


More information about the svn-src-projects mailing list