diff options
author | 2018-02-05 14:53:26 +0000 | |
---|---|---|
committer | 2018-02-05 14:53:26 +0000 | |
commit | 541bbb28f9abca6bed470d002d61bc222e9d7efb (patch) | |
tree | 02db788feec4a6953edc4d12a2d9195ce222cfc1 /sys/netinet/tcp_usrreq.c | |
parent | simplify macros, and avoid some arg splitting; (diff) | |
download | wireguard-openbsd-541bbb28f9abca6bed470d002d61bc222e9d7efb.tar.xz wireguard-openbsd-541bbb28f9abca6bed470d002d61bc222e9d7efb.zip |
Remove tcp_acounts, some tcp_usrreq() counting from 1981. Also
remove the #ifdef KPROF which seems to be unused since that year.
OK mpi@
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r-- | sys/netinet/tcp_usrreq.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c index 3502c908827..cd7f7e398dd 100644 --- a/sys/netinet/tcp_usrreq.c +++ b/sys/netinet/tcp_usrreq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_usrreq.c,v 1.166 2018/02/03 16:14:26 bluhm Exp $ */ +/* $OpenBSD: tcp_usrreq.c,v 1.167 2018/02/05 14:53:26 bluhm Exp $ */ /* $NetBSD: tcp_usrreq.c,v 1.20 1996/02/13 23:44:16 christos Exp $ */ /* @@ -171,9 +171,6 @@ tcp_usrreq(struct socket *so, int req, struct mbuf *m, struct mbuf *nam, /* tp might get 0 when using socket splicing */ if (tp == NULL) return (0); -#ifdef KPROF - tcp_acounts[tp->t_state][req]++; -#endif ostate = tp->t_state; switch (req) { @@ -631,9 +628,6 @@ tcp_detach(struct socket *so) /* tp might get 0 when using socket splicing */ if (tp == NULL) return (0); -#ifdef KPROF - tcp_acounts[tp->t_state][req]++; -#endif ostate = tp->t_state; /* |