mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
Remove duplicate make_dev() calls.
This commit is contained in:
parent
e73b093aa9
commit
bafe85a4ad
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104448
2 changed files with 0 additions and 8 deletions
|
@ -222,10 +222,6 @@ scd_attach(struct isa_device *dev)
|
|||
cd->audio_status = CD_AS_AUDIO_INVALID;
|
||||
bioq_init(&cd->head);
|
||||
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rscd%da", unit);
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rscd%dc", unit);
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "scd%da", unit);
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
|
|
|
@ -222,10 +222,6 @@ scd_attach(struct isa_device *dev)
|
|||
cd->audio_status = CD_AS_AUDIO_INVALID;
|
||||
bioq_init(&cd->head);
|
||||
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rscd%da", unit);
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rscd%dc", unit);
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "scd%da", unit);
|
||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
|
|
Loading…
Reference in a new issue