crypto: algif - removed unneeded code
PATCH 1/1 crypto: algif - removed unneeded code
Remover unneeded code.
Signed-off-by Tadeusz Struk <[email protected]>
--- crypto/algif_skcipher.c | 4 ---- 1 file changed, 4 deletions(-)
crypto/algif_skcipher.c +0 -4
@@ -359,8 +359,6 @@ static int skcipher_sendmsg(struct kiocb *unused, struct socket *sock, err =0 ; ctx->more = msg->msg_flags &MSG_MORE ; -if (!ctx->more && !list_empty (&ctx->tsgl)) - sgl = list_entry(ctx->tsgl.prev, struct skcipher_sg_list, list); unlock:skcipher_data_wakeup (sk);
@@ -408,8 +406,6 @@ static ssize_t skcipher_sendpage(struct socket *sock, struct page *page, done: ctx->more = flags &MSG_MORE ; -if (!ctx->more && !list_empty (&ctx->tsgl)) - sgl = list_entry(ctx->tsgl.prev, struct skcipher_sg_list, list); unlock:skcipher_data_wakeup (sk);
Herbert Xu
maintainerQuoted 3 lines · Tadeusz Struk
Remover unneeded code.
Signed-off-by Tadeusz Struk <[email protected]>
Patch applied. Thanks!
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt