convert #if to if -- let gcc optimize away dead code for us

This commit is contained in:
Mike Frysinger
2007-12-25 04:30:14 +00:00
parent ec5631b6d6
commit bb50fdfe07
2 changed files with 109 additions and 133 deletions

View File

@@ -37,10 +37,9 @@ config FEATURE_KILL_REMOVED
been removed.
config FEATURE_KILL_DELAY
int "How long to wait between TERM and KILL (0 - send TERM only)"
int "How long to wait between TERM and KILL (0 - send TERM only)" if FEATURE_KILL_REMOVED
range 0 1024
default 0
depends on FEATURE_KILL_REMOVED
help
With nonzero setting, init sends TERM, forks, child waits N
seconds, sends KILL and exits. Setting it too high is unwise