]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 28 Jan 2026 20:32:18 +0000 (15:32 -0500)
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: Michael S. Tsirkin <mst@redhat.com>
Message-Id: <20260113030556.3522533-3-maobibo@loongson.cn>

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;
 }