summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2010-01-25 16:10:22 +0000
committertrasz <trasz@FreeBSD.org>2010-01-25 16:10:22 +0000
commit298fb23cabf6af06d43aaf7b678238852c917732 (patch)
tree116fa058cbb2dafcc74a37c874232976bf65cbf7
parent0383f8d8bb3463abea138f4b625095c2d7eb8074 (diff)
downloadFreeBSD-src-298fb23cabf6af06d43aaf7b678238852c917732.zip
FreeBSD-src-298fb23cabf6af06d43aaf7b678238852c917732.tar.gz
Remove unused variable.
Found with: clang
-rw-r--r--sys/geom/mountver/g_mountver.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/mountver/g_mountver.c b/sys/geom/mountver/g_mountver.c
index 8640712..e15ce9d 100644
--- a/sys/geom/mountver/g_mountver.c
+++ b/sys/geom/mountver/g_mountver.c
@@ -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),
OpenPOWER on IntegriCloud