um: virt-pci: drop owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Mar 2024 08:43:52 +0000 (10:43 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 22 May 2024 12:31:16 +0000 (08:31 -0400)
virtio core already sets the .owner, so driver does not need to.

Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Message-Id: <20240331-module-owner-virtio-v2-5-98f04bfaf46a@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
arch/um/drivers/virt-pci.c

index 97a37c06299721f11ef8ca70a256b7b6d1ba540d..7cb503469bbdac5eb709bbf59e258ace099765f7 100644 (file)
@@ -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,