]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
iommu: virtio: drop owner assignment
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 31 Mar 2024 08:44:01 +0000 (10:44 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 22 May 2024 12:31:17 +0000 (08:31 -0400)
virtio core already sets the .owner, so driver does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Message-Id: <20240331-module-owner-virtio-v2-14-98f04bfaf46a@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/iommu/virtio-iommu.c

index 04048f64a2c0f436df56791e88eba6f9ba3e3f1f..9ed8958a42bf19de66cdbfc4008f69e8b809d51e 100644 (file)
@@ -1261,7 +1261,6 @@ MODULE_DEVICE_TABLE(virtio, id_table);
 
 static struct virtio_driver virtio_iommu_drv = {
        .driver.name            = KBUILD_MODNAME,
-       .driver.owner           = THIS_MODULE,
        .id_table               = id_table,
        .feature_table          = features,
        .feature_table_size     = ARRAY_SIZE(features),