diff options
author | Stefano Garzarella <sgarzare@redhat.com> | 2019-11-14 10:57:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-14 18:12:17 -0800 |
commit | db205c766862edae48d64e69e2f2502e2a3e9135 (patch) | |
tree | 8161f228a1fc776f10a438951d1b8691f2facdbd /include | |
parent | 7ed78bc495fda7c1e79b85c3ab0f240685afcc80 (diff) | |
download | lwn-db205c766862edae48d64e69e2f2502e2a3e9135.tar.gz lwn-db205c766862edae48d64e69e2f2502e2a3e9135.zip |
vsock: remove vm_sockets_get_local_cid()
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.
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/vm_sockets.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/vm_sockets.h b/include/linux/vm_sockets.h index 33f1a2ecd905..7dd899ccb920 100644 --- a/include/linux/vm_sockets.h +++ b/include/linux/vm_sockets.h @@ -10,6 +10,4 @@ #include <uapi/linux/vm_sockets.h> -int vm_sockets_get_local_cid(void); - #endif /* _VM_SOCKETS_H */ |