summaryrefslogtreecommitdiffstats
path: root/sys/dev/streams
diff options
context:
space:
mode:
authornewton <newton@FreeBSD.org>1999-07-30 12:39:49 +0000
committernewton <newton@FreeBSD.org>1999-07-30 12:39:49 +0000
commit206f542fa4d3610771ab94e73b4bde5dc9cb191e (patch)
tree70fb791942303dff14f3ca57255bfc60e216c5e6 /sys/dev/streams
parent0b514b0abf34e39e5236278126d86cd64fd066f0 (diff)
downloadFreeBSD-src-206f542fa4d3610771ab94e73b4bde5dc9cb191e.zip
FreeBSD-src-206f542fa4d3610771ab94e73b4bde5dc9cb191e.tar.gz
Eliminate 'WARNING: "streams" is usurping "streams"'s cdevsw[]' messages
at boot
Diffstat (limited to 'sys/dev/streams')
-rw-r--r--sys/dev/streams/streams.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/streams/streams.c b/sys/dev/streams/streams.c
index e82ed9e..0d0b4e4 100644
--- a/sys/dev/streams/streams.c
+++ b/sys/dev/streams/streams.c
@@ -29,9 +29,10 @@
* Stolen from NetBSD /sys/compat/svr4/svr4_net.c. Pseudo-device driver
* skeleton produced from /usr/share/examples/drivers/make_pseudo_driver.sh
* in 3.0-980524-SNAP then hacked a bit (but probably not enough :-).
+ *
+ * $Id$
*/
-
#include "streams.h" /* generated file.. defines NSTREAMS */
#include "opt_devfs.h"
#include <sys/param.h>
@@ -390,7 +391,6 @@ streams_drvinit(void *unused)
int unit;
sc_p scp = sca[unit];
- cdevsw_add(&streams_cdevsw);
for (unit = 0; unit < NSTREAMS; unit++) {
/*
* Allocate storage for this instance .
OpenPOWER on IntegriCloud