summaryrefslogtreecommitdiffstats
path: root/sbin/bioctl/bioctl.c
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2019-05-11 20:24:55 +0000
committerkrw <krw@openbsd.org>2019-05-11 20:24:55 +0000
commit43c488e40d4c23c14e75917d7e2874dda84cf89c (patch)
tree87c99899b6a8522baa618c8d6ce8542bc13a20d5 /sbin/bioctl/bioctl.c
parentmove the noise about W^X mapping failure inside the sysctl kern.wxabort (diff)
downloadwireguard-openbsd-43c488e40d4c23c14e75917d7e2874dda84cf89c.tar.xz
wireguard-openbsd-43c488e40d4c23c14e75917d7e2874dda84cf89c.zip
Kill a couple of superfluous "return;" statements
at the end of void functions. First one pointed out by Andrey Sokolov via bugs@
Diffstat (limited to 'sbin/bioctl/bioctl.c')
-rw-r--r--sbin/bioctl/bioctl.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sbin/bioctl/bioctl.c b/sbin/bioctl/bioctl.c
index 49c48ca5730..f21dd2f6d57 100644
--- a/sbin/bioctl/bioctl.c
+++ b/sbin/bioctl/bioctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bioctl.c,v 1.141 2016/12/20 15:38:46 patrick Exp $ */
+/* $OpenBSD: bioctl.c,v 1.142 2019/05/11 20:24:55 krw Exp $ */
/*
* Copyright (c) 2004, 2005 Marco Peereboom
@@ -785,8 +785,6 @@ bio_setblink(char *name, char *arg, int blink)
}
warnx("Disk %s does not exist", arg);
-
- return;
}
void
@@ -1386,6 +1384,4 @@ derive_key(u_int32_t type, int rounds, u_int8_t *key, size_t keysz,
/* forget passphrase */
explicit_bzero(passphrase, sizeof(passphrase));
-
- return;
}