Remove duplicate calls to make_dev().
This commit is contained in:
parent
debff18680
commit
4c7a1919f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=104440
@ -261,10 +261,6 @@ int mcd_attach(struct isa_device *dev)
|
||||
mcd_configure(cd);
|
||||
#endif
|
||||
/* name filled in probe */
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rmcd%da", unit);
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rmcd%dc", unit);
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "mcd%da", unit);
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
|
@ -261,10 +261,6 @@ int mcd_attach(struct isa_device *dev)
|
||||
mcd_configure(cd);
|
||||
#endif
|
||||
/* name filled in probe */
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rmcd%da", unit);
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "rmcd%dc", unit);
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, 0),
|
||||
UID_ROOT, GID_OPERATOR, 0640, "mcd%da", unit);
|
||||
make_dev(&mcd_cdevsw, dkmakeminor(unit, 0, RAW_PART),
|
||||
|
Loading…
Reference in New Issue
Block a user