svn commit: r202972 - head/sys/geom/mountver
Edward Tomasz Napierala
trasz at FreeBSD.org
Mon Jan 25 16:10:23 UTC 2010
Author: trasz
Date: Mon Jan 25 16:10:22 2010
New Revision: 202972
URL: http://svn.freebsd.org/changeset/base/202972
Log:
Remove unused variable.
Found with: clang
Modified:
head/sys/geom/mountver/g_mountver.c
Modified: head/sys/geom/mountver/g_mountver.c
==============================================================================
--- head/sys/geom/mountver/g_mountver.c Mon Jan 25 16:09:50 2010 (r202971)
+++ head/sys/geom/mountver/g_mountver.c Mon Jan 25 16:10:22 2010 (r202972)
@@ -81,7 +81,6 @@ struct g_class g_mountver_class = {
static void
g_mountver_done(struct bio *bp)
{
- struct g_mountver_softc *sc;
struct g_geom *gp;
struct bio *pbp;
@@ -97,7 +96,6 @@ g_mountver_done(struct bio *bp)
* that failed with ENXIO, in order to send them later.
*/
gp = bp->bio_from->geom;
- sc = gp->softc;
pbp = bp->bio_parent;
KASSERT(pbp->bio_to == LIST_FIRST(&gp->provider),
More information about the svn-src-all
mailing list