Don't call cdevsw_add().
This commit is contained in:
parent
b1912eb177
commit
b102b404f9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user