author: William Qiu <william.qiu@starfivetech.com> 2023-07-07 17:57:44 +0800
committer: William Qiu <william.qiu@starfivetech.com> 2023-07-07 17:57:44 +0800
commit: 1145aad99a2e7db381b868fe1b5d74d04ef4354d
parent: 5ffbce8ba02f67634884c5cf9e109a0456ca92eb
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c
index 3ce982de1717..5ade6a2f811f 100644
--- a/crypto/af_alg.c
+++ b/crypto/af_alg.c
@@ -205,7 +205,6 @@ static int alg_setkey(struct sock *sk, sockptr_t ukey, unsigned int keylen,
{
struct alg_sock *ask = alg_sk(sk);
- const struct af_alg_type *type = ask->type;
u8 *key;
int err;
@@ -841,7 +840,6 @@ int af_alg_sendmsg(struct socket *sock, struct msghdr *msg, size_t size,
struct af_alg_tsgl *sgl;
struct af_alg_control con = {};
long copied = 0;
- bool enc = false;
int op = 0;
bool init = false;
int err = 0;