[PATCH] CTS: remove dead code in sam_test_agent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
---
 cts/agents/sam_test_agent.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/cts/agents/sam_test_agent.c b/cts/agents/sam_test_agent.c
index c527a93..90daae9 100644
--- a/cts/agents/sam_test_agent.c
+++ b/cts/agents/sam_test_agent.c
@@ -1297,10 +1297,6 @@ static int test9 (pid_t pid, pid_t old_pid, int test_n) {
 
 		if (instance_id == 3) {
 			syslog (LOG_INFO, "%s iid %d: mark failed\n", __FUNCTION__, instance_id);
-			if (err != CS_OK) {
-				syslog (LOG_ERR, "Can't start hc. Error %d\n", err);
-				return 2;
-			}
 			err = sam_mark_failed ();
 			if (err != CS_OK) {
 				syslog (LOG_ERR, "Can't mark failed. Error %d\n", err);
-- 
1.7.6.4

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux