From 8128cfbaf124dcc82d5ca150e963ad8a2e757b5a Mon Sep 17 00:00:00 2001 From: "Fabio M. Di Nitto" Date: Thu, 12 Jan 2012 09:06:57 +0100 Subject: [PATCH] main: drop unrequired call to totem_get_stats and shut up another gcc warning Reviewed-by: Steven Dake Signed-off-by: Fabio M. Di Nitto --- exec/main.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/exec/main.c b/exec/main.c index 9585998f..54a7bd06 100644 --- a/exec/main.c +++ b/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);