소스 검색

main: drop unrequired call to totem_get_stats

and shut up another gcc warning

Reviewed-by: Steven Dake <sdake@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Fabio M. Di Nitto 14 년 전
부모
커밋
8128cfbaf1
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  1. 0 4
      exec/main.c

+ 0 - 4
exec/main.c

@@ -631,10 +631,6 @@ static void corosync_totem_dynamic_init (void)
 
 static void corosync_totem_stats_init (void)
 {
-	totempg_stats_t * stats;
-
-	stats = api->totem_get_stats();
-
 	icmap_set_uint32("runtime.totem.pg.mrp.srp.mtt_rx_token", 0);
 	icmap_set_uint32("runtime.totem.pg.mrp.srp.avg_token_workload", 0);
 	icmap_set_uint32("runtime.totem.pg.mrp.srp.avg_backlog_calc", 0);