Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2009 19:30:46 +0000 (UTC)
From:      Christian Brueffer <brueffer@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192023 - head/sys/dev/vge
Message-ID:  <200905121930.n4CJUkfW031052@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brueffer
Date: Tue May 12 19:30:46 2009
New Revision: 192023
URL: http://svn.freebsd.org/changeset/base/192023

Log:
  Remove unused variable.
  
  Found with:	Coverity Prevent(tm)
  CID:		550

Modified:
  head/sys/dev/vge/if_vge.c

Modified: head/sys/dev/vge/if_vge.c
==============================================================================
--- head/sys/dev/vge/if_vge.c	Tue May 12 17:05:40 2009	(r192022)
+++ head/sys/dev/vge/if_vge.c	Tue May 12 19:30:46 2009	(r192023)
@@ -651,10 +651,8 @@ vge_probe(dev)
 	device_t		dev;
 {
 	struct vge_type		*t;
-	struct vge_softc	*sc;
 
 	t = vge_devs;
-	sc = device_get_softc(dev);
 
 	while (t->vge_name != NULL) {
 		if ((pci_get_vendor(dev) == t->vge_vid) &&



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