summaryrefslogtreecommitdiff
path: root/mdadm.c
diff options
context:
space:
mode:
authorLidong Zhong <lzhong@suse.com>2015-08-26 14:01:52 +0800
committerLidong Zhong <lzhong@suse.com>2015-08-26 14:03:56 +0800
commitd7c6d75dcfe1fad31fa3b180088de7c499362b3d (patch)
treee6def6c26277638cab407c1e821d045c4f7fc8bf /mdadm.c
parentccc93b33ca01b85b503cc9c81434967fabfa4330 (diff)
downloadmdadm-d7c6d75dcfe1fad31fa3b180088de7c499362b3d.tar.gz
mdadm: remove duplicate logic when c.delay is 0
Diffstat (limited to 'mdadm.c')
-rw-r--r--mdadm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mdadm.c b/mdadm.c
index 5d5a1b8..9d65abb 100644
--- a/mdadm.c
+++ b/mdadm.c
@@ -1500,8 +1500,6 @@ int main(int argc, char *argv[])
else
c.delay = 60;
}
- if (c.delay == 0)
- c.delay = 60;
rv= Monitor(devlist, mailaddr, program,
&c, daemonise, oneshot,
dosyslog, pidfile, increments,