diff options
author | phk <phk@FreeBSD.org> | 2003-05-31 19:08:23 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-05-31 19:08:23 +0000 |
commit | c48dbf175867f36946e458d212067330206a7a7c (patch) | |
tree | d712a46498ae46db03e7f0166182c06002d25302 /sys/geom | |
parent | 9cb1f02d712ad390e22681d1ccd515486d97d9d7 (diff) | |
download | FreeBSD-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.c | 2 |
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; |