diff options
author | mdodd <mdodd@FreeBSD.org> | 2002-10-04 08:33:10 +0000 |
---|---|---|
committer | mdodd <mdodd@FreeBSD.org> | 2002-10-04 08:33:10 +0000 |
commit | 3bf276fb33027a974490c4c9f1a20b2a406efc3a (patch) | |
tree | 8e5d2fb095c732f02da33f71db6444200c52f4bc /sys | |
parent | 87cc2e7c17a6b81a24f5c7c697e80caf8a789e55 (diff) | |
download | FreeBSD-src-3bf276fb33027a974490c4c9f1a20b2a406efc3a.zip FreeBSD-src-3bf276fb33027a974490c4c9f1a20b2a406efc3a.tar.gz |
Remove duplicate make_dev() calls.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/scd/scd.c | 4 | ||||
-rw-r--r-- | sys/i386/isa/scd.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 4199f18..b758035 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 4199f18..b758035 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); |