Date: Mon, 25 Jan 2010 16:10:22 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r202972 - head/sys/geom/mountver Message-ID: <201001251610.o0PGAM6T012084@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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),
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001251610.o0PGAM6T012084>