summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/config.y
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-01-31 10:30:30 +0000
committerpeter <peter@FreeBSD.org>2001-01-31 10:30:30 +0000
commit4abe34416afda81cddb387d70a542952f6de9aa0 (patch)
treef72020979b7c7b8a125affbd00aa730124500e54 /usr.sbin/config/config.y
parent1b42df7d637544e86479a566e68bf57a640b6bdc (diff)
downloadFreeBSD-src-4abe34416afda81cddb387d70a542952f6de9aa0.zip
FreeBSD-src-4abe34416afda81cddb387d70a542952f6de9aa0.tar.gz
Unwind a bit more cruft - we only have one type of device now.
Diffstat (limited to 'usr.sbin/config/config.y')
-rw-r--r--usr.sbin/config/config.y3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.sbin/config/config.y b/usr.sbin/config/config.y
index 2ae1058..5fe6ff6 100644
--- a/usr.sbin/config/config.y
+++ b/usr.sbin/config/config.y
@@ -277,7 +277,6 @@ Device_spec:
op->op_line = yyline;
opt = op;
/* and the device part */
- cur.d_type = DEVICE;
cur.d_name = $2;
cur.d_count = UNKNOWN;
} |
@@ -291,7 +290,6 @@ Device_spec:
op->op_line = yyline;
opt = op;
/* and the device part */
- cur.d_type = DEVICE;
cur.d_name = $2;
cur.d_count = $3;
if (cur.d_count == 0)
@@ -319,7 +317,6 @@ newdev(struct device *dp)
memset(np, 0, sizeof(*np));
*np = *dp;
np->d_name = dp->d_name;
- np->d_type = dp->d_type;
np->d_count = dp->d_count;
np->d_next = 0;
if (curp == 0)
OpenPOWER on IntegriCloud