aboutsummaryrefslogtreecommitdiff
path: root/sys/geom
diff options
context:
space:
mode:
authorEdward Tomasz Napierala <trasz@FreeBSD.org>2010-01-25 16:10:22 +0000
committerEdward Tomasz Napierala <trasz@FreeBSD.org>2010-01-25 16:10:22 +0000
commit0a36cb97a85248372677fcc1683d3aa715255c60 (patch)
tree116fa058cbb2dafcc74a37c874232976bf65cbf7 /sys/geom
parentfa90da2be6bcba4e7fe2ee5b37e3bad1664d7837 (diff)
downloadsrc-0a36cb97a85248372677fcc1683d3aa715255c60.tar.gz
src-0a36cb97a85248372677fcc1683d3aa715255c60.zip
Remove unused variable.
Found with: clang
Notes
Notes: svn path=/head/; revision=202972
Diffstat (limited to 'sys/geom')
-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 8640712c808a..e15ce9d82f4c 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),