diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-12-06 07:06:06 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-12-15 07:59:19 +0300 |
commit | 819483d806f4324b42a25f8dd760735ae659141c (patch) | |
tree | 2d4cd516b1d11ba6f6454b8f28c0c74fe2677a1c /net/vmw_vsock | |
parent | 6c7efafdd5c1639084dd08ace82567e19a4032be (diff) | |
download | linux-819483d806f4324b42a25f8dd760735ae659141c.tar.xz |
vsock/virtio: mark an internal function static
virtio_transport_alloc_pkt is only used locally, make it static.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'net/vmw_vsock')
-rw-r--r-- | net/vmw_vsock/virtio_transport_common.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/vmw_vsock/virtio_transport_common.c b/net/vmw_vsock/virtio_transport_common.c index 687e9fdb3d67..6fd923eaeba9 100644 --- a/net/vmw_vsock/virtio_transport_common.c +++ b/net/vmw_vsock/virtio_transport_common.c @@ -32,7 +32,7 @@ static const struct virtio_transport *virtio_transport_get_ops(void) return container_of(t, struct virtio_transport, transport); } -struct virtio_vsock_pkt * +static struct virtio_vsock_pkt * virtio_transport_alloc_pkt(struct virtio_vsock_pkt_info *info, size_t len, u32 src_cid, @@ -82,7 +82,6 @@ out_pkt: kfree(pkt); return NULL; } -EXPORT_SYMBOL_GPL(virtio_transport_alloc_pkt); static int virtio_transport_send_pkt_info(struct vsock_sock *vsk, struct virtio_vsock_pkt_info *info) |