Skip to content

Commit 9dceed1

Browse files
krzkmstsirkin
authored andcommitted
nvdimm: virtio_pmem: drop owner assignment
virtio core already sets the .owner, so driver does not need to. Acked-by: Dave Jiang <[email protected]> Signed-off-by: Krzysztof Kozlowski <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Pankaj Gupta <[email protected] Reviewed-by: Pankaj Gupta <[email protected]>
1 parent 19680c7 commit 9dceed1

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/nvdimm/virtio_pmem.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ static struct virtio_driver virtio_pmem_driver = {
151151
.feature_table = features,
152152
.feature_table_size = ARRAY_SIZE(features),
153153
.driver.name = KBUILD_MODNAME,
154-
.driver.owner = THIS_MODULE,
155154
.id_table = id_table,
156155
.validate = virtio_pmem_validate,
157156
.probe = virtio_pmem_probe,

0 commit comments

Comments
 (0)