瀏覽代碼

Remove dead code in votequorum

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake 14 年之前
父節點
當前提交
589da8f0e1
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      lib/votequorum.c

+ 0 - 3
lib/votequorum.c

@@ -88,9 +88,6 @@ cs_error_t votequorum_initialize (
 		error = qb_to_cs_error(-errno);
 		goto error_put_destroy;
 	}
-	if (error != CS_OK) {
-		goto error_put_destroy;
-	}
 
 	if (callbacks)
 		memcpy(&votequorum_inst->callbacks, callbacks, sizeof (*callbacks));