summaryrefslogtreecommitdiff
path: root/sys/netinet/tcp_subr.c
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2022-03-02 12:53:16 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2022-03-02 12:53:16 +0000
commitc6119c9785657e099c2c98105169c7cf734ee70e (patch)
treedd963b9bc37636dcb2155821a9b2845625092679 /sys/netinet/tcp_subr.c
parenta135ec428cb68995ded0821205061a14b5626838 (diff)
The return value of in6_pcbnotify() is never used. Make it a void
function. OK gnezdo@ mvs@ florian@ sashan@
Diffstat (limited to 'sys/netinet/tcp_subr.c')
-rw-r--r--sys/netinet/tcp_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/tcp_subr.c b/sys/netinet/tcp_subr.c
index 2eb5ea5cf2c..bd0671b319a 100644
--- a/sys/netinet/tcp_subr.c
+++ b/sys/netinet/tcp_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tcp_subr.c,v 1.183 2022/01/02 22:36:04 jsg Exp $ */
+/* $OpenBSD: tcp_subr.c,v 1.184 2022/03/02 12:53:15 bluhm Exp $ */
/* $NetBSD: tcp_subr.c,v 1.22 1996/02/13 23:44:00 christos Exp $ */
/*
@@ -687,7 +687,7 @@ tcp6_ctlinput(int cmd, struct sockaddr *sa, u_int rdomain, void *d)
syn_cache_unreach((struct sockaddr *)sa6_src,
sa, &th, rdomain);
} else {
- (void) in6_pcbnotify(&tcbtable, sa6, 0,
+ in6_pcbnotify(&tcbtable, sa6, 0,
sa6_src, 0, rdomain, cmd, NULL, notify);
}
}
@@ -822,7 +822,7 @@ tcp_ctlinput(int cmd, struct sockaddr *sa, u_int rdomain, void *v)
void
tcp6_mtudisc_callback(struct sockaddr_in6 *sin6, u_int rdomain)
{
- (void) in6_pcbnotify(&tcbtable, sin6, 0,
+ in6_pcbnotify(&tcbtable, sin6, 0,
&sa6_any, 0, rdomain, PRC_MSGSIZE, NULL, tcp_mtudisc);
}
#endif /* INET6 */