aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2014-05-23 20:15:01 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2014-05-23 20:15:01 +0000
commit255cd9fd58ee5f70d16044d7f01fb64b5f074fbe (patch)
tree9401746f10b6e0ec90c09eb5a050d296f38714a0 /sys/dev
parenta7424861fb6b4ee710fde4c6e0505dc3eb33ed1c (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cxgbe/tom/t4_listen.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/dev/cxgbe/tom/t4_listen.c b/sys/dev/cxgbe/tom/t4_listen.c
index 0dc02e3a3ee5..1c25bafd3de4 100644
--- a/sys/dev/cxgbe/tom/t4_listen.c
+++ b/sys/dev/cxgbe/tom/t4_listen.c
@@ -1052,17 +1052,6 @@ calc_opt2p(struct adapter *sc, struct port_info *pi, int rxqid,
return htobe32(opt2);
}
-/* XXX: duplication. */
-static inline void
-tcp_fields_to_host(struct tcphdr *th)
-{
-
- th->th_seq = ntohl(th->th_seq);
- th->th_ack = ntohl(th->th_ack);
- th->th_win = ntohs(th->th_win);
- th->th_urp = ntohs(th->th_urp);
-}
-
static void
pass_accept_req_to_protohdrs(const struct mbuf *m, struct in_conninfo *inc,
struct tcphdr *th)