scsi: virtio: drop owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Mar 2024 08:44:10 +0000 (10:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 22 May 2024 12:31:18 +0000 (08:31 -0400)
virtio core already sets the .owner, so driver does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Message-Id: <20240331-module-owner-virtio-v2-23-98f04bfaf46a@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/virtio_scsi.c

index 617eb892f4ad457feb5d4de3d9c1ceb88a010c61..89ca269457211e0ecd504b3397f6236812942e72 100644 (file)
@@ -1052,7 +1052,6 @@ static struct virtio_driver virtio_scsi_driver = {
        .feature_table = features,
        .feature_table_size = ARRAY_SIZE(features),
        .driver.name = KBUILD_MODNAME,
-       .driver.owner = THIS_MODULE,
        .id_table = id_table,
        .probe = virtscsi_probe,
 #ifdef CONFIG_PM_SLEEP