Skip to content

Commit e1e4d37

Browse files
krzkmstsirkin
authored andcommitted
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]>
1 parent f42c740 commit e1e4d37

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/scsi/virtio_scsi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1052,7 +1052,6 @@ static struct virtio_driver virtio_scsi_driver = {
10521052
.feature_table = features,
10531053
.feature_table_size = ARRAY_SIZE(features),
10541054
.driver.name = KBUILD_MODNAME,
1055-
.driver.owner = THIS_MODULE,
10561055
.id_table = id_table,
10571056
.probe = virtscsi_probe,
10581057
#ifdef CONFIG_PM_SLEEP

0 commit comments

Comments
 (0)