]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
crypto: virtio - Remove duplicated virtqueue_kick in virtio_crypto_skcipher_crypt_req
authorBibo Mao <maobibo@loongson.cn>
Tue, 13 Jan 2026 03:05:55 +0000 (11:05 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 31 Jan 2026 02:52:30 +0000 (10:52 +0800)
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: d79b5d0bbf2e ("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>
drivers/crypto/virtio/virtio_crypto_skcipher_algs.c

index 1b3fb21a2a7de290f811e9051f687c8f1a11b8a7..11053d1786d4d2e4bb29c92b20173bc9d9541880 100644 (file)
@@ -541,8 +541,6 @@ int virtio_crypto_skcipher_crypt_req(
        if (ret < 0)
                return ret;
 
-       virtqueue_kick(data_vq->vq);
-
        return 0;
 }