From 63378c84b4ec580257683ef9596cf6f8b49d327c Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Thu, 4 Nov 2021 18:30:57 +0100 Subject: Remove unused ocf_operation structure from stack. Reviewed by: jhb@ MFC after: 1 week Sponsored by: NVIDIA Networking --- sys/opencrypto/ktls_ocf.c | 4 ---- 1 file changed, 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. */ -- cgit v1.2.3