]> git.ipfire.org Git - thirdparty/mdadm.git/commit - Kill.c
Kill: remove duplicate tests on 'force'.
authorNeilBrown <neilb@suse.de>
Tue, 1 Nov 2011 02:30:44 +0000 (13:30 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 1 Nov 2011 02:30:44 +0000 (13:30 +1100)
commit88657e86d9c75d3ab68a03035fbc49366712558c
tree016816ab17dba89b7b3319b968fbaa0725c6f309
parent2244d1a9877d18bdc42a5204d31f41920d369e87
Kill: remove duplicate tests on 'force'.

We test 'force' twice with the second having not chance of
taking effect.
As a result a subsequent message - intended for use in the 'force'
case is never generated.

So remove the first test - it is unnecessary.

Reported-by: Jes.Sorensen@redhat.com
Signed-off-by: NeilBrown <neilb@suse.de>
Kill.c