Module Name: src
Committed By: martin
Date: Thu Sep 12 13:12:35 UTC 2013
Modified Files:
src/sys/opencrypto: cryptosoft.c
Log Message:
Remove unused variable
To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/opencrypto/cryptosoft.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/opencrypto/cryptosoft.c
diff -u src/sys/opencrypto/cryptosoft.c:1.42 src/sys/opencrypto/cryptosoft.c:1.43
--- src/sys/opencrypto/cryptosoft.c:1.42 Mon Jun 24 04:21:20 2013
+++ src/sys/opencrypto/cryptosoft.c Thu Sep 12 13:12:35 2013
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
#include <sys/systm.h>
@@ -1045,7 +1045,6 @@ swcr_freesession(void *arg, u_int64_t ti
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 ti
case CRYPTO_DEFLATE_COMP:
case CRYPTO_DEFLATE_COMP_NOGROW:
case CRYPTO_GZIP_COMP:
- cxf = swd->sw_cxf;
break;
}