Don't call cdevsw_add().

This commit is contained in:
Poul-Henning Kamp 2001-11-04 11:56:22 +00:00
parent 90a13e1e9e
commit 3165f068f3

View File

@ -191,7 +191,6 @@ disk_create(int unit, struct disk *dp, int flags, struct cdevsw *cdevsw, struct
proto->d_ioctl = diskioctl;
proto->d_strategy = diskstrategy;
proto->d_psize = diskpsize;
cdevsw_add(proto);
}
if (bootverbose)