summaryrefslogtreecommitdiff
path: root/sys/netinet/udp_usrreq.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/udp_usrreq.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/udp_usrreq.c')
-rw-r--r--sys/netinet/udp_usrreq.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/udp_usrreq.c b/sys/netinet/udp_usrreq.c
index e5069f1d395..e32d9c21454 100644
--- a/sys/netinet/udp_usrreq.c
+++ b/sys/netinet/udp_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udp_usrreq.c,v 1.271 2022/02/25 23:51:03 guenther Exp $ */
+/* $OpenBSD: udp_usrreq.c,v 1.272 2022/03/02 12:53:15 bluhm Exp $ */
/* $NetBSD: udp_usrreq.c,v 1.28 1996/03/16 23:54:03 christos Exp $ */
/*
@@ -791,10 +791,10 @@ udp6_ctlinput(int cmd, struct sockaddr *sa, u_int rdomain, void *d)
*/
}
- (void) in6_pcbnotify(&udbtable, &sa6, uh.uh_dport,
+ in6_pcbnotify(&udbtable, &sa6, uh.uh_dport,
&sa6_src, uh.uh_sport, rdomain, cmd, cmdarg, notify);
} else {
- (void) in6_pcbnotify(&udbtable, &sa6, 0,
+ in6_pcbnotify(&udbtable, &sa6, 0,
&sa6_any, 0, rdomain, cmd, cmdarg, notify);
}
}