diff options
author | Krzysztof Kozlowski <[email protected]> | 2024-03-31 10:44:10 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2024-05-22 08:31:18 -0400 |
commit | e1e4d376836a134465f8f265281e4db5d3bcd9db (patch) | |
tree | eaab43fe17f877c0f8eaacf0ff8bf2dc8484b42a | |
parent | f42c7405fdc90b73bf62d32a41b77c5542a09c2b (diff) |
scsi: virtio: drop owner assignment
virtio core already sets the .owner, so driver does not need to.
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Stefan Hajnoczi <[email protected]>
Acked-by: Martin K. Petersen <[email protected]>
-rw-r--r-- | drivers/scsi/virtio_scsi.c | 1 |
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 |