Commit 781486e4 authored by Yue Haibing's avatar Yue Haibing Committed by Jakub Kicinski

af_vsock: Remove unused declaration vsock_release_pending()/vsock_init_tap()

Commit d021c344 ("VSOCK: Introduce VM Sockets") declared but never implemented
vsock_release_pending(). Also vsock_init_tap() never implemented since introduction
in commit 531b3748 ("VSOCK: Add vsockmon tap functions").
Signed-off-by: default avatarYue Haibing <yuehaibing@huawei.com>
Reviewed-by: default avatarSimon Horman <horms@kernel.org>
Reviewed-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Link: https://lore.kernel.org/r/20230803134507.22660-1-yuehaibing@huawei.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 2f0e807b
...@@ -201,7 +201,6 @@ static inline bool __vsock_in_connected_table(struct vsock_sock *vsk) ...@@ -201,7 +201,6 @@ static inline bool __vsock_in_connected_table(struct vsock_sock *vsk)
return !list_empty(&vsk->connected_table); return !list_empty(&vsk->connected_table);
} }
void vsock_release_pending(struct sock *pending);
void vsock_add_pending(struct sock *listener, struct sock *pending); void vsock_add_pending(struct sock *listener, struct sock *pending);
void vsock_remove_pending(struct sock *listener, struct sock *pending); void vsock_remove_pending(struct sock *listener, struct sock *pending);
void vsock_enqueue_accept(struct sock *listener, struct sock *connected); void vsock_enqueue_accept(struct sock *listener, struct sock *connected);
...@@ -225,7 +224,6 @@ struct vsock_tap { ...@@ -225,7 +224,6 @@ struct vsock_tap {
struct list_head list; struct list_head list;
}; };
int vsock_init_tap(void);
int vsock_add_tap(struct vsock_tap *vt); int vsock_add_tap(struct vsock_tap *vt);
int vsock_remove_tap(struct vsock_tap *vt); int vsock_remove_tap(struct vsock_tap *vt);
void vsock_deliver_tap(struct sk_buff *build_skb(void *opaque), void *opaque); void vsock_deliver_tap(struct sk_buff *build_skb(void *opaque), void *opaque);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment