summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-31 10:44:10 +0200
committerMichael S. Tsirkin <mst@redhat.com>2024-05-22 14:31:18 +0200
commite1e4d376836a134465f8f265281e4db5d3bcd9db (patch)
treeeaab43fe17f877c0f8eaacf0ff8bf2dc8484b42a
parentrpmsg: virtio: drop owner assignment (diff)
downloadlinux-e1e4d376836a134465f8f265281e4db5d3bcd9db.tar.xz
linux-e1e4d376836a134465f8f265281e4db5d3bcd9db.zip
scsi: virtio: drop owner assignment
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>
-rw-r--r--drivers/scsi/virtio_scsi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/virtio_scsi.c b/drivers/scsi/virtio_scsi.c
index 617eb892f4ad..89ca26945721 100644
--- a/drivers/scsi/virtio_scsi.c
+++ b/drivers/scsi/virtio_scsi.c
@@ -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