From 4abe34416afda81cddb387d70a542952f6de9aa0 Mon Sep 17 00:00:00 2001 From: peter Date: Wed, 31 Jan 2001 10:30:30 +0000 Subject: Unwind a bit more cruft - we only have one type of device now. --- usr.sbin/config/config.y | 3 --- 1 file changed, 3 deletions(-) (limited to 'usr.sbin/config/config.y') 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) -- cgit v1.1