From c6c76cdf82b05edc6163ea2b2c7b1ddbaffecf6d Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Mon, 6 Feb 2012 12:35:35 -0700 Subject: [PATCH] Remove dead code in sam test agent Signed-off-by: Steven Dake Reviewed-by: Jan Friesse --- cts/agents/sam_test_agent.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/cts/agents/sam_test_agent.c b/cts/agents/sam_test_agent.c index 12fdbb44..9d24bd21 100644 --- a/cts/agents/sam_test_agent.c +++ b/cts/agents/sam_test_agent.c @@ -1074,10 +1074,6 @@ static int test9 (pid_t pid, pid_t old_pid, int test_n) { if (instance_id == 3) { qb_log (LOG_INFO, "iid %d: mark failed", instance_id); - if (err != CS_OK) { - qb_log (LOG_ERR, "Can't start hc. Error %d", err); - return 2; - } err = sam_mark_failed (); if (err != CS_OK) { qb_log (LOG_ERR, "Can't mark failed. Error %d", err);