git: ba8c7454d151 - main - cesa: Remove unused variable.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Apr 2022 01:31:52 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=ba8c7454d1518f89a10e3afbe84ca62e2772e52e
commit ba8c7454d1518f89a10e3afbe84ca62e2772e52e
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-09 01:31:29 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-09 01:31:29 +0000
cesa: Remove unused variable.
---
sys/dev/cesa/cesa.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/dev/cesa/cesa.c b/sys/dev/cesa/cesa.c
index 50f8fb0e2d9d..7ede703adbb2 100644
--- a/sys/dev/cesa/cesa.c
+++ b/sys/dev/cesa/cesa.c
@@ -1637,10 +1637,8 @@ cesa_newsession(device_t dev, crypto_session_t cses,
const struct crypto_session_params *csp)
{
struct cesa_session *cs;
- struct cesa_softc *sc;
int error;
- sc = device_get_softc(dev);
error = 0;
/* Allocate session */