diff --git a/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c b/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c index edc9fea7abd5..3b58f6620629 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c +++ b/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c @@ -145,15 +145,3 @@ sockbuf_sbspace(struct sockbuf *sb) return (sbspace(sb)); } -int -syncache_offload_expand(struct in_conninfo *inc, struct tcpopt *to, struct tcphdr *th, - struct socket **lsop, struct mbuf *m) -{ - int rc; - - INP_INFO_WLOCK(&tcbinfo); - rc = syncache_expand(inc, to, th, lsop, m); - INP_INFO_WUNLOCK(&tcbinfo); - - return (rc); -} diff --git a/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h b/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h index 3e833b0b59c6..c3a2a4dc61f4 100644 --- a/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h +++ b/sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h @@ -20,9 +20,6 @@ int sockbuf_sbspace(struct sockbuf *); struct tcphdr; struct tcpopt; -int syncache_offload_expand(struct in_conninfo *, struct tcpopt *, - struct tcphdr *, struct socket **, struct mbuf *); - #ifndef _SYS_SOCKETVAR_H_ #include #include