| Date | Wed, 9 Oct 2019 12:42:24 +0100 | From | Stefan Hajnoczi <> | Subject | Re: [RFC PATCH 02/13] vsock: remove vm_sockets_get_local_cid() |
| |
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> [unhandled content-type:application/pgp-signature] |