Eliminate 'WARNING: "streams" is usurping "streams"'s cdevsw[]' messages

at boot
This commit is contained in:
Mark Newton 1999-07-30 12:39:49 +00:00
parent f7141d9373
commit 04f84b3402
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49263

View file

@ -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 .