Răsfoiți Sursa

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 ani în urmă
părinte
comite
8128cfbaf1
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  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);