From 4d4039104f042d5bc18e57af6356c3a71bf0240b Mon Sep 17 00:00:00 2001 From: ae Date: Thu, 11 Dec 2014 17:01:53 +0000 Subject: Remove unused mtag variable. Obtained from: Yandex LLC Sponsored by: Yandex LLC --- sys/netipsec/xform_ipcomp.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/netipsec/xform_ipcomp.c') diff --git a/sys/netipsec/xform_ipcomp.c b/sys/netipsec/xform_ipcomp.c index 5ef5246..17c4f34 100644 --- a/sys/netipsec/xform_ipcomp.c +++ b/sys/netipsec/xform_ipcomp.c @@ -227,7 +227,6 @@ ipcomp_input_cb(struct cryptop *crp) struct cryptodesc *crd; struct tdb_crypto *tc; int skip, protoff; - struct mtag *mtag; struct mbuf *m; struct secasvar *sav; struct secasindex *saidx; @@ -241,7 +240,6 @@ ipcomp_input_cb(struct cryptop *crp) IPSEC_ASSERT(tc != NULL, ("null opaque crypto data area!")); skip = tc->tc_skip; protoff = tc->tc_protoff; - mtag = (struct mtag *) tc->tc_ptr; m = (struct mbuf *) crp->crp_buf; sav = tc->tc_sav; -- cgit v1.1 From 409532973d8fbc88638613e4f2f187facb219e0b Mon Sep 17 00:00:00 2001 From: ae Date: Thu, 11 Dec 2014 17:14:49 +0000 Subject: Remove now unused mtag argument from ipsec*_common_input_cb. Obtained from: Yandex LLC Sponsored by: Yandex LLC --- sys/netipsec/xform_ipcomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/netipsec/xform_ipcomp.c') diff --git a/sys/netipsec/xform_ipcomp.c b/sys/netipsec/xform_ipcomp.c index 17c4f34..e7035cb 100644 --- a/sys/netipsec/xform_ipcomp.c +++ b/sys/netipsec/xform_ipcomp.c @@ -309,12 +309,12 @@ ipcomp_input_cb(struct cryptop *crp) switch (saidx->dst.sa.sa_family) { #ifdef INET6 case AF_INET6: - error = ipsec6_common_input_cb(m, sav, skip, protoff, NULL); + error = ipsec6_common_input_cb(m, sav, skip, protoff); break; #endif #ifdef INET case AF_INET: - error = ipsec4_common_input_cb(m, sav, skip, protoff, NULL); + error = ipsec4_common_input_cb(m, sav, skip, protoff); break; #endif default: -- cgit v1.1