]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
vsock/virtio: remove unnecessary call to `virtio_transport_get_ops`
authorLuigi Leonardi <leonardi@redhat.com>
Wed, 8 Apr 2026 15:21:02 +0000 (17:21 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sun, 12 Apr 2026 16:57:01 +0000 (09:57 -0700)
commit006679268a2942f897a1d601779867a8dcbb8ed0
tree7371dd0128c56997ebd83286d3196f7669e477e4
parent5758be283ff8b37beed49e270b908a251d5ca2d7
vsock/virtio: remove unnecessary call to `virtio_transport_get_ops`

`virtio_transport_send_pkt_info` gets all the transport information
from the parameter `t_ops`. There is no need to call
`virtio_transport_get_ops()`.

Remove it.

Acked-by: Arseniy Krasnov <avkrasnov@salutedevices.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Luigi Leonardi <leonardi@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Link: https://patch.msgid.link/20260408-remove_parameter-v2-1-e00f31cf7a17@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/vmw_vsock/virtio_transport_common.c