Date: Thu, 4 Nov 2021 17:54:30 GMT From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 63378c84b4ec - main - Remove unused ocf_operation structure from stack. Message-ID: <202111041754.1A4HsUsu050097@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111041754.1A4HsUsu050097>