Skip to content

Commit

Permalink
um: virt-pci: drop owner assignment
Browse files Browse the repository at this point in the history
virtio core already sets the .owner, so driver does not need to.

Acked-by: Johannes Berg <[email protected]>
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
  • Loading branch information
krzk authored and mstsirkin committed May 22, 2024
1 parent b0e55a9 commit 9731be4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/um/drivers/virt-pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,6 @@ MODULE_DEVICE_TABLE(virtio, id_table);

static struct virtio_driver um_pci_virtio_driver = {
.driver.name = "virtio-pci",
.driver.owner = THIS_MODULE,
.id_table = id_table,
.probe = um_pci_virtio_probe,
.remove = um_pci_virtio_remove,
Expand Down

0 comments on commit 9731be4

Please sign in to comment.