aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMatthew N. Dodd <mdodd@FreeBSD.org>2002-10-04 08:33:10 +0000
committerMatthew N. Dodd <mdodd@FreeBSD.org>2002-10-04 08:33:10 +0000
commitbafe85a4adc3c0f9405bdf65ddec2771b4cbb4e7 (patch)
tree8e5d2fb095c732f02da33f71db6444200c52f4bc /sys
parente73b093aa98ce4d546a56e12d561cb3cd011aa34 (diff)
downloadsrc-bafe85a4adc3c0f9405bdf65ddec2771b4cbb4e7.tar.gz
src-bafe85a4adc3c0f9405bdf65ddec2771b4cbb4e7.zip
Remove duplicate make_dev() calls.
Notes
Notes: svn path=/head/; revision=104448
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/scd/scd.c4
-rw-r--r--sys/i386/isa/scd.c4
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index 4199f189eefb..b758035323f0 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -223,10 +223,6 @@ scd_attach(struct isa_device *dev)
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),
UID_ROOT, GID_OPERATOR, 0640, "scd%dc", unit);
diff --git a/sys/i386/isa/scd.c b/sys/i386/isa/scd.c
index 4199f189eefb..b758035323f0 100644
--- a/sys/i386/isa/scd.c
+++ b/sys/i386/isa/scd.c
@@ -223,10 +223,6 @@ scd_attach(struct isa_device *dev)
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),
UID_ROOT, GID_OPERATOR, 0640, "scd%dc", unit);