summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2016-05-23 15:59:20 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2016-05-23 15:59:20 +0000
commita6fe096f2bfa76855f4460d979db2342b28cd9ef (patch)
tree0dec98ef70c9a10026a85c2484c0049c9f447e36 /sys
parenta91920932b73637e1e04370c2f94e9b7d86f6792 (diff)
remove the sysctl kern.random counters, since none of the remaining
ones are capable of giving valuable works vs does-not-work evidence. ok tedu
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_sysctl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index 5e703b199c8..b3c854376fe 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_sysctl.c,v 1.303 2016/05/21 14:00:27 jsing Exp $ */
+/* $OpenBSD: kern_sysctl.c,v 1.304 2016/05/23 15:59:19 deraadt Exp $ */
/* $NetBSD: kern_sysctl.c,v 1.17 1996/05/20 17:49:05 mrg Exp $ */
/*-
@@ -415,9 +415,6 @@ kern_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
return (sysctl_int(oldp, oldlenp, newp, newlen, &sominconn));
case KERN_USERMOUNT:
return (sysctl_int(oldp, oldlenp, newp, newlen, &usermount));
- case KERN_RND:
- return (sysctl_rdstruct(oldp, oldlenp, newp, &rndstats,
- sizeof(rndstats)));
case KERN_ARND: {
char buf[512];