Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/opencrypto Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/16bbcd81b8df
branches: trunk
changeset: 789894:16bbcd81b8df
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 12 13:12:35 2013 +0000
description:
Remove unused variable
diffstat:
sys/opencrypto/cryptosoft.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 7d730c65f3ef -r 16bbcd81b8df sys/opencrypto/cryptosoft.c
--- a/sys/opencrypto/cryptosoft.c Thu Sep 12 13:02:37 2013 +0000
+++ b/sys/opencrypto/cryptosoft.c Thu Sep 12 13:12:35 2013 +0000
@@ -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 @@
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 @@
case CRYPTO_DEFLATE_COMP:
case CRYPTO_DEFLATE_COMP_NOGROW:
case CRYPTO_GZIP_COMP:
- cxf = swd->sw_cxf;
break;
}
Home |
Main Index |
Thread Index |
Old Index