aesni: plug a set-but-not-unused var in aesni_newsession

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2021-11-24 16:17:09 +00:00
parent 1caaf55585
commit 3279341dc5

View File

@ -342,12 +342,9 @@ static int
aesni_newsession(device_t dev, crypto_session_t cses,
const struct crypto_session_params *csp)
{
struct aesni_softc *sc;
struct aesni_session *ses;
int error;
sc = device_get_softc(dev);
ses = crypto_get_driver_session(cses);
switch (csp->csp_mode) {