aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2021-11-04 17:30:57 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2021-11-04 17:52:06 +0000
commit63378c84b4ec580257683ef9596cf6f8b49d327c (patch)
tree11cb04aa5cb711560c3d3943054a259dc7af6607
parente9a994639b2af232f994ba2ad23ca45a17718d2b (diff)
downloadsrc-63378c84b4ec580257683ef9596cf6f8b49d327c.tar.gz
src-63378c84b4ec580257683ef9596cf6f8b49d327c.zip
Remove unused ocf_operation structure from stack.
Reviewed by: jhb@ MFC after: 1 week Sponsored by: NVIDIA Networking
-rw-r--r--sys/opencrypto/ktls_ocf.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/opencrypto/ktls_ocf.c b/sys/opencrypto/ktls_ocf.c
index 0096b4189533..3b944e302a8d 100644
--- a/sys/opencrypto/ktls_ocf.c
+++ b/sys/opencrypto/ktls_ocf.c
@@ -458,15 +458,11 @@ ktls_ocf_tls12_aead_decrypt(struct ktls_session *tls,
struct tls_aead_data ad;
struct cryptop crp;
struct ktls_ocf_session *os;
- struct ocf_operation oo;
int error;
uint16_t tls_comp_len;
os = tls->ocf_session;
- oo.os = os;
- oo.done = false;
-
crypto_initreq(&crp, os->sid);
/* Setup the IV. */