diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-07-13 16:32:14 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2002-07-13 16:32:14 +0000 |
commit | bbd71b0dcf62719b75605f8296564804f3cbd11f (patch) | |
tree | a7aa27bc2234c79a482f2b04ba39d7ee253c2b99 /sys/dev | |
parent | 269b2e7d97a268a0c392a85d7533cbe23efb8da5 (diff) |
Cleanup/Shrinkage.
1) Eliminate more if's in favour of 'cond || stmt' or
'cond && stmt' constructs.
2) Global _didnet -> DIDNET, make local _nam a local.
3) Display 'DHCP not supported' error every time user
specifies 'dhcp' but the client is not present.
4) if if_extra is empty, that's ok, so just assign
$resp to it whether $resp is empty or not.
5) Check for DIDNET inside donetconfig() instead of
before each call to donetconfig.
6) Eliminate superfluous 'Aborting' comments, and let
the user draw their own conclusion from getting the
'Extract more sets' message.
7) Minor code tweaks like not continually assigning
$resp to a value in a loop, when all we want is
the final value, and only displaying 'Skipping'
message in tape installs if we are actually
skipping files, etc.
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions