Skip to content

Commit 2befab7

Browse files
bibo-maoUlrich Hecht
authored andcommitted
crypto: virtio - Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req
[ Upstream commit 14f86a1155cca1176abf55987b2fce7f7fcb2455 ] With function virtio_crypto_skcipher_crypt_req(), there is already virtqueue_kick() call with spinlock held in function __virtio_crypto_skcipher_do_req(). Remove duplicated virtqueue_kick() function call here. Fixes: d79b5d0 ("crypto: virtio - support crypto engine framework") Cc: stable@vger.kernel.org Signed-off-by: Bibo Mao <maobibo@loongson.cn> Acked-by: Jason Wang <jasowang@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e90e56f commit 2befab7

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/crypto/virtio/virtio_crypto_algs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,6 @@ int virtio_crypto_ablkcipher_crypt_req(
586586
if (ret < 0)
587587
return ret;
588588

589-
virtqueue_kick(data_vq->vq);
590-
591589
return 0;
592590
}
593591

0 commit comments

Comments
 (0)