Skip to content
Snippets Groups Projects
Commit 0e69a2d0 authored by Avi Kivity's avatar Avi Kivity
Browse files

net: remove sockbuf::test_fn()


This was used to ensure all socket-using code was converted to C++, but not
cleaned up later.

Clean it up now.

Reviewed-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarAvi Kivity <avi@cloudius-systems.com>
parent 3136db04
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,6 @@ struct xsockbuf {
* Variables for socket buffering.
*/
struct sockbuf {
int test_fn();
struct mtx sb_mtx; /* sockbuf lock */
struct rwlock sb_rwlock; /* prevent I/O interlacing */
short sb_state; /* (c/d) socket state on sockbuf */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment