aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-03-31 10:43:52 +0200
committerMichael S. Tsirkin <[email protected]>2024-05-22 08:31:16 -0400
commit9731be4bc8d5a5df302b27eb9483de0efc7da792 (patch)
tree0a62f933647fda3999712e51775455e2ec4e232f
parentb0e55a950ee6145e0debfab941b057046e6d87c2 (diff)
um: virt-pci: drop owner assignment
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]>
-rw-r--r--arch/um/drivers/virt-pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/um/drivers/virt-pci.c b/arch/um/drivers/virt-pci.c
index 97a37c062997..7cb503469bbd 100644
--- a/arch/um/drivers/virt-pci.c
+++ b/arch/um/drivers/virt-pci.c
@@ -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,