Просмотр исходного кода

Remove dead code in evs service

Signed-off-by: Steven Dake <sdake@redhat.com>
Reviewed-by: Angus Salkeld <asalkeld@redhat.com>
Steven Dake 14 лет назад
Родитель
Сommit
3ad0979dc1
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      lib/evs.c

+ 0 - 3
lib/evs.c

@@ -106,9 +106,6 @@ evs_error_t evs_initialize (
 		error = qb_to_cs_error(-errno);
 		goto error_put_destroy;
 	}
-	if (error != EVS_OK) {
-		goto error_put_destroy;
-	}
 
 	if (callbacks) {
 		memcpy (&evs_inst->callbacks, callbacks, sizeof (evs_callbacks_t));