git: 63378c84b4ec - main - Remove unused ocf_operation structure from stack.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Nov 2021 17:54:30 UTC
The branch main has been updated by hselasky:
URL: https://cgit.FreeBSD.org/src/commit/?id=63378c84b4ec580257683ef9596cf6f8b49d327c
commit 63378c84b4ec580257683ef9596cf6f8b49d327c
Author: Hans Petter Selasky <hselasky@FreeBSD.org>
AuthorDate: 2021-11-04 17:30:57 +0000
Commit: Hans Petter Selasky <hselasky@FreeBSD.org>
CommitDate: 2021-11-04 17:52:06 +0000
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. */