Skip to content

Commit 836c8d7

Browse files
Andrei Simioncristibirsan
authored andcommitted
crypto: atmel-aes: Remove unused variable ret
Remove unused variable ret to avoid unwanted compilation warning: drivers/crypto/atmel-aes.c: In function ‘atmel_aes_authenc_crypt’: drivers/crypto/atmel-aes.c:2248:21: warning: unused variable ‘ret’ [-Wunused-variable] 2248 | int ret; | Fixes: 4ade590 ("crypto: atmel-aes: Add fallback for unsupported ESP header length ") Signed-off-by: Andrei Simion <andrei.simion@microchip.com> Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>
1 parent 10564f2 commit 836c8d7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/crypto/atmel-aes.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2245,7 +2245,6 @@ static int atmel_aes_authenc_crypt(struct aead_request *req,
22452245
*/
22462246
if ((req->assoclen != 16) && limitation) {
22472247
struct aead_request *subreq = aead_request_ctx(req);
2248-
int ret;
22492248

22502249
aead_request_set_tfm(subreq, actx->fallback);
22512250
aead_request_set_callback(subreq, req->base.flags,

0 commit comments

Comments
 (0)