From 0e69a2d09936bee90a407e6cadd616772776c818 Mon Sep 17 00:00:00 2001 From: Avi Kivity <avi@cloudius-systems.com> Date: Mon, 13 Jan 2014 16:25:05 +0200 Subject: [PATCH] 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: Nadav Har'El <nyh@cloudius-systems.com> Signed-off-by: Avi Kivity <avi@cloudius-systems.com> --- bsd/sys/sys/sockbuf.h | 1 - 1 file changed, 1 deletion(-) diff --git a/bsd/sys/sys/sockbuf.h b/bsd/sys/sys/sockbuf.h index 9fb096915..bb71b2e4e 100644 --- a/bsd/sys/sys/sockbuf.h +++ b/bsd/sys/sys/sockbuf.h @@ -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 */ -- GitLab