summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/acpi/acpi.c3
-rw-r--r--sys/dev/acpi/acpihve.c3
-rw-r--r--sys/dev/fdt/amlrng.c3
-rw-r--r--sys/dev/fdt/amlsm.c3
-rw-r--r--sys/dev/fdt/bcm2711_rng.c3
-rw-r--r--sys/dev/fdt/bcm2835_rng.c3
-rw-r--r--sys/dev/fdt/mvrng.c3
-rw-r--r--sys/dev/fdt/rkrng.c3
-rw-r--r--sys/dev/fdt/sxisid.c3
-rw-r--r--sys/dev/ic/ccp.c4
-rw-r--r--sys/dev/pci/amdpm.c3
-rw-r--r--sys/dev/pci/bktr/bktr_core.c3
-rw-r--r--sys/dev/pci/hifn7751.c3
-rw-r--r--sys/dev/pci/safe.c3
-rw-r--r--sys/dev/pci/ubsec.c3
-rw-r--r--sys/dev/pv/hyperv.c2
-rw-r--r--sys/dev/pv/hypervic.c2
-rw-r--r--sys/dev/pv/pvbus.c4
-rw-r--r--sys/dev/pv/viornd.c3
-rw-r--r--sys/dev/pv/vmmci.c3
-rw-r--r--sys/dev/pv/vmt.c3
-rw-r--r--sys/dev/pv/xen.c4
-rw-r--r--sys/dev/rnd.c3
-rw-r--r--sys/dev/rndvar.h43
-rw-r--r--sys/dev/usb/uonerng.c4
-rw-r--r--sys/dev/usb/urng.c4
-rw-r--r--sys/dev/wscons/wsmouse.c3
27 files changed, 24 insertions, 100 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index bc7130561ff..7c103347980 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.385 2020/05/14 13:07:10 kettenis Exp $ */
+/* $OpenBSD: acpi.c,v 1.386 2020/05/29 04:42:24 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -42,7 +42,6 @@
#include <machine/cpufunc.h>
#include <machine/bus.h>
-#include <dev/rndvar.h>
#include <dev/pci/pcivar.h>
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
diff --git a/sys/dev/acpi/acpihve.c b/sys/dev/acpi/acpihve.c
index 037e82a35e3..1b89c04e1df 100644
--- a/sys/dev/acpi/acpihve.c
+++ b/sys/dev/acpi/acpihve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpihve.c,v 1.2 2018/04/28 15:44:59 jasper Exp $ */
+/* $OpenBSD: acpihve.c,v 1.3 2020/05/29 04:42:24 deraadt Exp $ */
/*
* Copyright (c) 2017 Jonathan Gray <jsg@openbsd.org>
@@ -22,7 +22,6 @@
#include <dev/acpi/acpireg.h>
#include <dev/acpi/acpivar.h>
-#include <dev/rndvar.h>
int acpihve_match(struct device *, void *, void *);
void acpihve_attach(struct device *, struct device *, void *);
diff --git a/sys/dev/fdt/amlrng.c b/sys/dev/fdt/amlrng.c
index b8218f97309..52f1d2d1bb2 100644
--- a/sys/dev/fdt/amlrng.c
+++ b/sys/dev/fdt/amlrng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amlrng.c,v 1.1 2019/08/27 22:21:52 kettenis Exp $ */
+/* $OpenBSD: amlrng.c,v 1.2 2020/05/29 04:42:24 deraadt Exp $ */
/*
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
*
@@ -23,7 +23,6 @@
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <dev/rndvar.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/fdt.h>
diff --git a/sys/dev/fdt/amlsm.c b/sys/dev/fdt/amlsm.c
index af237545346..7080978c4dc 100644
--- a/sys/dev/fdt/amlsm.c
+++ b/sys/dev/fdt/amlsm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amlsm.c,v 1.1 2020/01/14 20:43:20 kettenis Exp $ */
+/* $OpenBSD: amlsm.c,v 1.2 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -26,7 +26,6 @@
#include <dev/ofw/openfirm.h>
#include <dev/ofw/fdt.h>
#include <dev/ofw/ofw_misc.h>
-#include <dev/rndvar.h>
extern register_t smc_call(register_t, register_t, register_t, register_t);
diff --git a/sys/dev/fdt/bcm2711_rng.c b/sys/dev/fdt/bcm2711_rng.c
index 72ddb39a4c3..3ee0e213c98 100644
--- a/sys/dev/fdt/bcm2711_rng.c
+++ b/sys/dev/fdt/bcm2711_rng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2711_rng.c,v 1.1 2020/04/19 16:00:00 kettenis Exp $ */
+/* $OpenBSD: bcm2711_rng.c,v 1.2 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -23,7 +23,6 @@
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <dev/rndvar.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/fdt.h>
diff --git a/sys/dev/fdt/bcm2835_rng.c b/sys/dev/fdt/bcm2835_rng.c
index 91305fe7a53..128e1bf37ca 100644
--- a/sys/dev/fdt/bcm2835_rng.c
+++ b/sys/dev/fdt/bcm2835_rng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bcm2835_rng.c,v 1.2 2018/04/28 15:44:59 jasper Exp $ */
+/* $OpenBSD: bcm2835_rng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
@@ -23,7 +23,6 @@
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <dev/rndvar.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/fdt.h>
diff --git a/sys/dev/fdt/mvrng.c b/sys/dev/fdt/mvrng.c
index 2169c0a9c23..8f2dcef2e60 100644
--- a/sys/dev/fdt/mvrng.c
+++ b/sys/dev/fdt/mvrng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mvrng.c,v 1.2 2018/04/28 15:44:59 jasper Exp $ */
+/* $OpenBSD: mvrng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis <kettenis@openbsd.org>
*
@@ -23,7 +23,6 @@
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <dev/rndvar.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/fdt.h>
diff --git a/sys/dev/fdt/rkrng.c b/sys/dev/fdt/rkrng.c
index 68d682e2e22..eaecdf41d6d 100644
--- a/sys/dev/fdt/rkrng.c
+++ b/sys/dev/fdt/rkrng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rkrng.c,v 1.2 2020/04/09 09:25:50 kettenis Exp $ */
+/* $OpenBSD: rkrng.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2020 Mark Kettenis <kettenis@openbsd.org>
*
@@ -23,7 +23,6 @@
#include <machine/bus.h>
#include <machine/fdt.h>
-#include <dev/rndvar.h>
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_clock.h>
#include <dev/ofw/fdt.h>
diff --git a/sys/dev/fdt/sxisid.c b/sys/dev/fdt/sxisid.c
index 8a5a11b62d0..bb7abc8b0b5 100644
--- a/sys/dev/fdt/sxisid.c
+++ b/sys/dev/fdt/sxisid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxisid.c,v 1.2 2020/01/23 03:27:56 kettenis Exp $ */
+/* $OpenBSD: sxisid.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2019 Krystian Lewandowski
* Copyright (c) 2019 Mark Kettenis <kettenis@openbsd.org>
@@ -28,7 +28,6 @@
#include <dev/ofw/openfirm.h>
#include <dev/ofw/ofw_misc.h>
#include <dev/ofw/fdt.h>
-#include <dev/rndvar.h>
/* Registers */
#define SID_PRCTL 0x40
diff --git a/sys/dev/ic/ccp.c b/sys/dev/ic/ccp.c
index 360e24938f4..5a04b73938f 100644
--- a/sys/dev/ic/ccp.c
+++ b/sys/dev/ic/ccp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ccp.c,v 1.2 2018/04/28 15:44:59 jasper Exp $ */
+/* $OpenBSD: ccp.c,v 1.3 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
@@ -26,8 +26,6 @@
#include <machine/bus.h>
-#include <dev/rndvar.h>
-
#include <dev/ic/ccpvar.h>
#define CCP_REG_TRNG 0xc
diff --git a/sys/dev/pci/amdpm.c b/sys/dev/pci/amdpm.c
index 3abe03de722..6df82858016 100644
--- a/sys/dev/pci/amdpm.c
+++ b/sys/dev/pci/amdpm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: amdpm.c,v 1.34 2020/01/09 14:35:19 mpi Exp $ */
+/* $OpenBSD: amdpm.c,v 1.35 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2006 Alexander Yurchenko <grange@openbsd.org>
@@ -59,7 +59,6 @@
#include <dev/pci/pcireg.h>
#include <dev/pci/pcidevs.h>
-#include <dev/rndvar.h>
#include <dev/i2c/i2cvar.h>
#ifdef AMDPM_DEBUG
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c
index 0ca6a9d0aa2..6c10f95b061 100644
--- a/sys/dev/pci/bktr/bktr_core.c
+++ b/sys/dev/pci/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_core.c,v 1.41 2019/12/16 04:50:48 cheloha Exp $ */
+/* $OpenBSD: bktr_core.c,v 1.42 2020/05/29 04:42:25 deraadt Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -103,7 +103,6 @@
#include <uvm/uvm_extern.h>
-#include <dev/rndvar.h>
#include <dev/ic/bt8xx.h>
#include <dev/pci/bktr/bktr_reg.h>
#include <dev/pci/bktr/bktr_tuner.h>
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c
index 0bfd489dc70..9e0ef43142d 100644
--- a/sys/dev/pci/hifn7751.c
+++ b/sys/dev/pci/hifn7751.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hifn7751.c,v 1.179 2020/01/11 21:34:03 cheloha Exp $ */
+/* $OpenBSD: hifn7751.c,v 1.180 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Invertex AEON / Hifn 7751 driver
@@ -55,7 +55,6 @@
#include <sys/device.h>
#include <crypto/cryptodev.h>
-#include <dev/rndvar.h>
#include <dev/pci/pcireg.h>
#include <dev/pci/pcivar.h>
diff --git a/sys/dev/pci/safe.c b/sys/dev/pci/safe.c
index 801e982455f..a0a595f7899 100644
--- a/sys/dev/pci/safe.c
+++ b/sys/dev/pci/safe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: safe.c,v 1.43 2018/04/28 15:44:59 jasper Exp $ */
+/* $OpenBSD: safe.c,v 1.44 2020/05/29 04:42:25 deraadt Exp $ */
/*-
* Copyright (c) 2003 Sam Leffler, Errno Consulting
@@ -46,7 +46,6 @@
#include <crypto/sha1.h>
#include <crypto/cryptodev.h>
#include <crypto/cryptosoft.h>
-#include <dev/rndvar.h>
#include <dev/pci/pcivar.h>
#include <dev/pci/pcireg.h>
diff --git a/sys/dev/pci/ubsec.c b/sys/dev/pci/ubsec.c
index 9307d1fe4a8..a9020f7e615 100644
--- a/sys/dev/pci/ubsec.c
+++ b/sys/dev/pci/ubsec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ubsec.c,v 1.165 2020/01/10 23:09:23 cheloha Exp $ */
+/* $OpenBSD: ubsec.c,v 1.166 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2000 Jason L. Wright (jason@thought.net)
@@ -50,7 +50,6 @@
#include <crypto/cryptodev.h>
#include <crypto/cryptosoft.h>
-#include <dev/rndvar.h>
#include <crypto/md5.h>
#include <crypto/sha1.h>
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c
index 3ab2ae22831..b32facdacb1 100644
--- a/sys/dev/pv/hyperv.c
+++ b/sys/dev/pv/hyperv.c
@@ -63,8 +63,6 @@
#include <machine/i82489var.h>
-#include <dev/rndvar.h>
-
#include <dev/pv/pvvar.h>
#include <dev/pv/pvreg.h>
#include <dev/pv/hypervreg.h>
diff --git a/sys/dev/pv/hypervic.c b/sys/dev/pv/hypervic.c
index aad954830c1..ef96dce7f44 100644
--- a/sys/dev/pv/hypervic.c
+++ b/sys/dev/pv/hypervic.c
@@ -64,8 +64,6 @@
#include <machine/i82489var.h>
-#include <dev/rndvar.h>
-
#include <net/if.h>
#include <net/if_dl.h>
#include <netinet/in.h>
diff --git a/sys/dev/pv/pvbus.c b/sys/dev/pv/pvbus.c
index 7f4f85033f0..00c64647dc9 100644
--- a/sys/dev/pv/pvbus.c
+++ b/sys/dev/pv/pvbus.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pvbus.c,v 1.20 2020/01/24 05:14:51 jsg Exp $ */
+/* $OpenBSD: pvbus.c,v 1.21 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -38,8 +38,6 @@
#include <machine/bus.h>
#include <machine/vmmvar.h>
-#include <dev/rndvar.h>
-
#include <dev/pv/pvvar.h>
#include <dev/pv/pvreg.h>
diff --git a/sys/dev/pv/viornd.c b/sys/dev/pv/viornd.c
index 4c734554dbc..da262d88a9e 100644
--- a/sys/dev/pv/viornd.c
+++ b/sys/dev/pv/viornd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: viornd.c,v 1.3 2019/05/26 15:20:04 sf Exp $ */
+/* $OpenBSD: viornd.c,v 1.4 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2014 Stefan Fritsch <sf@sfritsch.de>
@@ -23,7 +23,6 @@
#include <machine/bus.h>
#include <sys/device.h>
#include <sys/pool.h>
-#include <dev/rndvar.h>
#include <dev/pv/virtioreg.h>
#include <dev/pv/virtiovar.h>
diff --git a/sys/dev/pv/vmmci.c b/sys/dev/pv/vmmci.c
index 922b8a5ae94..a88d1c35340 100644
--- a/sys/dev/pv/vmmci.c
+++ b/sys/dev/pv/vmmci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmmci.c,v 1.6 2019/12/31 01:26:56 jsg Exp $ */
+/* $OpenBSD: vmmci.c,v 1.7 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2017 Reyk Floeter <reyk@openbsd.org>
@@ -32,7 +32,6 @@
#include <dev/pv/virtioreg.h>
#include <dev/pv/virtiovar.h>
#include <dev/pv/pvvar.h>
-#include <dev/rndvar.h>
enum vmmci_cmd {
VMMCI_NONE = 0,
diff --git a/sys/dev/pv/vmt.c b/sys/dev/pv/vmt.c
index 80ebbb9668b..2dfeee97d87 100644
--- a/sys/dev/pv/vmt.c
+++ b/sys/dev/pv/vmt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vmt.c,v 1.17 2020/02/16 03:23:05 jmatthew Exp $ */
+/* $OpenBSD: vmt.c,v 1.18 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2007 David Crawshaw <david@zentus.com>
@@ -45,7 +45,6 @@
#include <netinet/in.h>
#include <dev/pv/pvvar.h>
-#include <dev/rndvar.h>
/* "The" magic number, always occupies the EAX register. */
#define VM_MAGIC 0x564D5868
diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c
index 16fcee3d48b..24b81ecec35 100644
--- a/sys/dev/pv/xen.c
+++ b/sys/dev/pv/xen.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xen.c,v 1.95 2020/02/13 15:39:02 mikeb Exp $ */
+/* $OpenBSD: xen.c,v 1.96 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2015, 2016, 2017 Mike Belopuhov
@@ -49,8 +49,6 @@
#include <machine/i82489var.h>
-#include <dev/rndvar.h>
-
#include <dev/pv/pvvar.h>
#include <dev/pv/pvreg.h>
#include <dev/pv/xenreg.h>
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index 3635db0249e..8802965514a 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.218 2020/05/29 01:13:14 deraadt Exp $ */
+/* $OpenBSD: rnd.c,v 1.219 2020/05/29 04:42:24 deraadt Exp $ */
/*
* Copyright (c) 2011 Theo de Raadt.
@@ -81,7 +81,6 @@
#define KEYSTREAM_ONLY
#include <crypto/chacha_private.h>
-#include <dev/rndvar.h>
#include <uvm/uvm_extern.h>
/*
diff --git a/sys/dev/rndvar.h b/sys/dev/rndvar.h
deleted file mode 100644
index f5e3b9fb9f0..00000000000
--- a/sys/dev/rndvar.h
+++ /dev/null
@@ -1,43 +0,0 @@
-/* $OpenBSD: rndvar.h,v 1.40 2020/05/25 15:24:32 deraadt Exp $ */
-
-/*
- * Copyright (c) 1996,2000 Michael Shalayeff.
- *
- * This software derived from one contributed by Theodore Ts'o.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
- * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
- * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
- * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
- * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
- * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
- * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
- * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- *
- */
-
-#ifndef __RNDVAR_H__
-#define __RNDVAR_H__
-
-#ifdef _KERNEL
-void random_start(int);
-
-void enqueue_randomness(unsigned int);
-void suspend_randomness(void);
-void resume_randomness(char *, size_t);
-
-#endif /* _KERNEL */
-
-#endif /* __RNDVAR_H__ */
diff --git a/sys/dev/usb/uonerng.c b/sys/dev/usb/uonerng.c
index 1958508635a..890e765b5f4 100644
--- a/sys/dev/usb/uonerng.c
+++ b/sys/dev/usb/uonerng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uonerng.c,v 1.4 2018/07/09 20:06:12 jasper Exp $ */
+/* $OpenBSD: uonerng.c,v 1.5 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (C) 2015 Devin Reade <gdr@gno.org>
* Copyright (C) 2015 Sean Levy <attila@stalphonsos.com>
@@ -44,8 +44,6 @@
#include <dev/usb/usbdevs.h>
#include <dev/usb/usbcdc.h>
-#include <dev/rndvar.h>
-
/*
* The OneRNG is documented to provide ~350kbits/s of entropy at
* ~7.8 bits/byte, and when used at a lower rate providing close
diff --git a/sys/dev/usb/urng.c b/sys/dev/usb/urng.c
index 0b30250f201..566e227a90d 100644
--- a/sys/dev/usb/urng.c
+++ b/sys/dev/usb/urng.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: urng.c,v 1.9 2018/07/09 20:09:00 jasper Exp $ */
+/* $OpenBSD: urng.c,v 1.10 2020/05/29 04:42:25 deraadt Exp $ */
/*
* Copyright (c) 2017 Jasper Lievisse Adriaanse <jasper@openbsd.org>
@@ -38,8 +38,6 @@
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdevs.h>
-#include <dev/rndvar.h>
-
#define DEVNAME(_sc) ((_sc)->sc_dev.dv_xname)
#ifdef URNG_DEBUG
diff --git a/sys/dev/wscons/wsmouse.c b/sys/dev/wscons/wsmouse.c
index a611b4a0c65..eba5f5eb00e 100644
--- a/sys/dev/wscons/wsmouse.c
+++ b/sys/dev/wscons/wsmouse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wsmouse.c,v 1.64 2020/03/24 12:34:14 anton Exp $ */
+/* $OpenBSD: wsmouse.c,v 1.65 2020/05/29 04:42:25 deraadt Exp $ */
/* $NetBSD: wsmouse.c,v 1.35 2005/02/27 00:27:52 perry Exp $ */
/*
@@ -111,7 +111,6 @@
#include <dev/wscons/wsmousevar.h>
#include <dev/wscons/wseventvar.h>
#include <dev/wscons/wsmouseinput.h>
-#include <dev/rndvar.h>
#include "wsmux.h"
#include "wsdisplay.h"