aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ypserv/yp_dnslookup.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-11-03 17:46:16 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2023-11-06 19:07:10 +0000
commitb5ebd8bb4e90b810c834aabb78c87054ab84db8e (patch)
treefea796b760e13b1eb204170857805a19263ec8f8 /usr.sbin/ypserv/yp_dnslookup.c
parente9e666f7de0fe9a18d2299a61c2f4d6ce9187bd1 (diff)
downloadsrc-b5ebd8bb4e90b810c834aabb78c87054ab84db8e.tar.gz
src-b5ebd8bb4e90b810c834aabb78c87054ab84db8e.zip
ypserv: Remove return statement at the end of void functions
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'usr.sbin/ypserv/yp_dnslookup.c')
-rw-r--r--usr.sbin/ypserv/yp_dnslookup.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/usr.sbin/ypserv/yp_dnslookup.c b/usr.sbin/ypserv/yp_dnslookup.c
index b1dc712c35ff..699c4d7e8018 100644
--- a/usr.sbin/ypserv/yp_dnslookup.c
+++ b/usr.sbin/ypserv/yp_dnslookup.c
@@ -306,8 +306,6 @@ yp_send_dns_reply(struct circleq_dnsentry *q, char *buf)
if (q->prot_type == SOCK_DGRAM)
svcudp_set_xid(q->xprt, xid);
q->xprt->xp_raddr = client_addr;
-
- return;
}
/*
@@ -334,8 +332,6 @@ yp_prune_dnsq(void)
if (pending < 0)
pending = 0;
-
- return;
}
/*
@@ -403,8 +399,6 @@ yp_run_dnsq(void)
/* Decrement TTLs on other entries while we're here. */
yp_prune_dnsq();
-
- return;
}
/*