Skip to content

Commit

Permalink
crypto: virtio - drop owner assignment
Browse files Browse the repository at this point in the history
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]>
Acked-by: Herbert Xu <[email protected]>
  • Loading branch information
krzk authored and mstsirkin committed May 22, 2024
1 parent a610e31 commit 9e00c14
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/crypto/virtio/virtio_crypto_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,6 @@ static const struct virtio_device_id id_table[] = {

static struct virtio_driver virtio_crypto_driver = {
.driver.name = KBUILD_MODNAME,
.driver.owner = THIS_MODULE,
.feature_table = features,
.feature_table_size = ARRAY_SIZE(features),
.id_table = id_table,
Expand Down

0 comments on commit 9e00c14

Please sign in to comment.