aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2024-03-31 10:44:02 +0200
committerMichael S. Tsirkin <[email protected]>2024-05-22 08:31:17 -0400
commit7249ad5a71bf36cc324b5c6af7dc932e31c3adfd (patch)
tree6bd89e4fb7c72f41fd00b333adcf8bbcbd5488d1
parentac5990d3ecc7b4517bddf68a5a99efca78211444 (diff)
misc: nsm: drop owner assignment
virtio core already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Reviewed-by: Alexander Graf <[email protected]>
-rw-r--r--drivers/misc/nsm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/nsm.c b/drivers/misc/nsm.c
index 0eaa3b4484bd..ef7b32742340 100644
--- a/drivers/misc/nsm.c
+++ b/drivers/misc/nsm.c
@@ -494,7 +494,6 @@ static struct virtio_driver virtio_nsm_driver = {
.feature_table_legacy = 0,
.feature_table_size_legacy = 0,
.driver.name = KBUILD_MODNAME,
- .driver.owner = THIS_MODULE,
.id_table = id_table,
.probe = nsm_device_probe,
.remove = nsm_device_remove,