summaryrefslogtreecommitdiffstats
path: root/sys/geom
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 19:08:23 +0000
committerphk <phk@FreeBSD.org>2003-05-31 19:08:23 +0000
commitc48dbf175867f36946e458d212067330206a7a7c (patch)
treed712a46498ae46db03e7f0166182c06002d25302 /sys/geom
parent9cb1f02d712ad390e22681d1ccd515486d97d9d7 (diff)
downloadFreeBSD-src-c48dbf175867f36946e458d212067330206a7a7c.zip
FreeBSD-src-c48dbf175867f36946e458d212067330206a7a7c.tar.gz
Remove unused variable.
Found by: FlexeLint
Diffstat (limited to 'sys/geom')
-rw-r--r--sys/geom/bde/g_bde_work.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/bde/g_bde_work.c b/sys/geom/bde/g_bde_work.c
index 9d0b8d9..b2f5aa9 100644
--- a/sys/geom/bde/g_bde_work.c
+++ b/sys/geom/bde/g_bde_work.c
@@ -370,11 +370,9 @@ g_bde_read_keysector(struct g_bde_softc *sc, struct g_bde_work *wp)
static void
g_bde_contribute(struct bio *bp, off_t bytes, int error)
{
- struct g_bde_softc *sc;
g_trace(G_T_TOPOLOGY, "g_bde_contribute bp %p bytes %jd error %d",
bp, (intmax_t)bytes, error);
- sc = bp->bio_driver1;
if (bp->bio_error == 0)
bp->bio_error = error;
bp->bio_completed += bytes;
OpenPOWER on IntegriCloud