summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_aes.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-31 19:28:53 +0000
committerphk <phk@FreeBSD.org>2003-05-31 19:28:53 +0000
commitef00c86fced5120507094f7064f2ab6c0c7bdab9 (patch)
tree96584195f010dbf7fe7fbe4992d107d1f1011d7b /sys/geom/geom_aes.c
parent926fff03bf522ba4aa811a8284d2e141ecdad6eb (diff)
downloadFreeBSD-src-ef00c86fced5120507094f7064f2ab6c0c7bdab9.zip
FreeBSD-src-ef00c86fced5120507094f7064f2ab6c0c7bdab9.tar.gz
Remove unused variable.
Found by: FlexeLint
Diffstat (limited to 'sys/geom/geom_aes.c')
-rw-r--r--sys/geom/geom_aes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/geom/geom_aes.c b/sys/geom/geom_aes.c
index aa580cf..7698364 100644
--- a/sys/geom/geom_aes.c
+++ b/sys/geom/geom_aes.c
@@ -160,11 +160,7 @@ g_aes_read_done(struct bio *bp)
static void
g_aes_write_done(struct bio *bp)
{
- struct g_aes_softc *sc;
- struct g_geom *gp;
- gp = bp->bio_to->geom;
- sc = gp->softc;
bzero(bp->bio_data, bp->bio_length); /* destroy evidence */
g_free(bp->bio_data);
g_std_done(bp);
OpenPOWER on IntegriCloud