From 8606bfb9d2e89f59ae70708681c4035fcdd8ed0a Mon Sep 17 00:00:00 2001 From: martin Date: Thu, 12 Sep 2013 13:12:35 +0000 Subject: [PATCH] Remove unused variable --- sys/opencrypto/cryptosoft.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/opencrypto/cryptosoft.c b/sys/opencrypto/cryptosoft.c index 7cfd7e4b9f53..f94db3b883ba 100644 --- a/sys/opencrypto/cryptosoft.c +++ b/sys/opencrypto/cryptosoft.c @@ -1,4 +1,4 @@ -/* $NetBSD: cryptosoft.c,v 1.42 2013/06/24 04:21:20 riastradh Exp $ */ +/* $NetBSD: cryptosoft.c,v 1.43 2013/09/12 13:12:35 martin Exp $ */ /* $FreeBSD: src/sys/opencrypto/cryptosoft.c,v 1.2.2.1 2002/11/21 23:34:23 sam Exp $ */ /* $OpenBSD: cryptosoft.c,v 1.35 2002/04/26 08:43:50 deraadt Exp $ */ @@ -24,7 +24,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: cryptosoft.c,v 1.42 2013/06/24 04:21:20 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: cryptosoft.c,v 1.43 2013/09/12 13:12:35 martin Exp $"); #include #include @@ -1045,7 +1045,6 @@ swcr_freesession(void *arg, u_int64_t tid) struct swcr_data *swd; const struct swcr_enc_xform *txf; const struct swcr_auth_hash *axf; - const struct swcr_comp_algo *cxf; u_int32_t sid = ((u_int32_t) tid) & 0xffffffff; if (sid > swcr_sesnum || swcr_sessions == NULL || @@ -1130,7 +1129,6 @@ swcr_freesession(void *arg, u_int64_t tid) case CRYPTO_DEFLATE_COMP: case CRYPTO_DEFLATE_COMP_NOGROW: case CRYPTO_GZIP_COMP: - cxf = swd->sw_cxf; break; }