From 7658528ea757263aa160d88b06cc8552b88b44f3 Mon Sep 17 00:00:00 2001 From: kmacy Date: Mon, 21 Jul 2008 02:17:27 +0000 Subject: [PATCH] remove cxgb local definition of locked syncache_expand --- sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.c | 12 ------------ sys/dev/cxgb/ulp/tom/cxgb_tcp_offload.h | 3 --- 2 files changed, 15 deletions(-) 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