Commit 9a03bfa1 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Michael S. Tsirkin

net: virtio: drop owner assignment

virtio core already sets the .owner, so driver does not need to.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Message-Id: <20240331-module-owner-virtio-v2-17-98f04bfaf46a@linaro.org>
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
parent 606f1f9f
...@@ -5039,7 +5039,6 @@ static struct virtio_driver virtio_net_driver = { ...@@ -5039,7 +5039,6 @@ static struct virtio_driver virtio_net_driver = {
.feature_table_legacy = features_legacy, .feature_table_legacy = features_legacy,
.feature_table_size_legacy = ARRAY_SIZE(features_legacy), .feature_table_size_legacy = ARRAY_SIZE(features_legacy),
.driver.name = KBUILD_MODNAME, .driver.name = KBUILD_MODNAME,
.driver.owner = THIS_MODULE,
.id_table = id_table, .id_table = id_table,
.validate = virtnet_validate, .validate = virtnet_validate,
.probe = virtnet_probe, .probe = virtnet_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment