mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-15 15:06:42 +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
@ -222,10 +222,6 @@ scd_attach(struct isa_device *dev)
|
|||||||
cd->audio_status = CD_AS_AUDIO_INVALID;
|
cd->audio_status = CD_AS_AUDIO_INVALID;
|
||||||
bioq_init(&cd->head);
|
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),
|
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||||
UID_ROOT, GID_OPERATOR, 0640, "scd%da", unit);
|
UID_ROOT, GID_OPERATOR, 0640, "scd%da", unit);
|
||||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
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;
|
cd->audio_status = CD_AS_AUDIO_INVALID;
|
||||||
bioq_init(&cd->head);
|
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),
|
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||||
UID_ROOT, GID_OPERATOR, 0640, "scd%da", unit);
|
UID_ROOT, GID_OPERATOR, 0640, "scd%da", unit);
|
||||||
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
make_dev(&scd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||||
|
Loading…
Reference in New Issue
Block a user