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>
This commit is contained in:
Fabio M. Di Nitto 2012-01-12 09:06:57 +01:00
parent 841a7a82d3
commit 8128cfbaf1

View File

@ -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);