Skip to content

Commit a389d43

Browse files
bibo-maomstsirkin
authored andcommitted
crypto: virtio: Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req
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: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20260113030556.3522533-3-maobibo@loongson.cn>
1 parent af9a17d commit a389d43

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

drivers/crypto/virtio/virtio_crypto_skcipher_algs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,6 @@ int virtio_crypto_skcipher_crypt_req(
541541
if (ret < 0)
542542
return ret;
543543

544-
virtqueue_kick(data_vq->vq);
545-
546544
return 0;
547545
}
548546

0 commit comments

Comments
 (0)