Thread (42 messages) 42 messages, 4 authors, 2019-10-11

Re: [RFC PATCH 02/13] vsock: remove vm_sockets_get_local_cid()

From: Stefan Hajnoczi <hidden>
Date: 2019-10-09 11:42:30
Also in: kvm, linux-hyperv, lkml

On Fri, Sep 27, 2019 at 01:26:52PM +0200, Stefano Garzarella wrote:
vm_sockets_get_local_cid() is only used in virtio_transport_common.c.
We can replace it calling the virtio_transport_get_ops() and
using the get_local_cid() callback registered by the transport.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
---
 include/linux/vm_sockets.h              |  2 --
 net/vmw_vsock/af_vsock.c                | 10 ----------
 net/vmw_vsock/virtio_transport_common.c |  2 +-
 3 files changed, 1 insertion(+), 13 deletions(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help