Re: [PATCH] CTS: remove dead code in sam_test_agent

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

 



On 10/21/2011 03:08 AM, Angus Salkeld wrote:
> 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);
Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

_______________________________________________
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