From d8924aa7791958d40f7b08660c665d8a8349fd63 Mon Sep 17 00:00:00 2001 From: pmf Date: Wed, 10 Oct 2007 21:49:01 +0000 Subject: [PATCH] stats.c: fix warnings git-svn-id: http://ltt.polymtl.ca/svn@2633 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/stats.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ltt/branches/poly/lttv/lttv/stats.c b/ltt/branches/poly/lttv/lttv/stats.c index e34bab22..3663cbce 100644 --- a/ltt/branches/poly/lttv/lttv/stats.c +++ b/ltt/branches/poly/lttv/lttv/stats.c @@ -1058,9 +1058,6 @@ void lttv_stats_add_event_hooks(LttvTracesetStats *self) LttvAttributeValue val; - gint ret; - gint hn; - nb_trace = lttv_traceset_number(traceset); for(i = 0 ; i < nb_trace ; i++) { ts = (LttvTraceStats *)self->parent.parent.traces[i]; @@ -1186,7 +1183,7 @@ void lttv_stats_add_event_hooks(LttvTracesetStats *self) lttv_trace_find_hook(ts->parent.parent.t, LTT_EVENT_SOFT_IRQ_ENTRY, FIELD_ARRAY(LTT_FIELD_SOFT_IRQ_ID), - after_irq_entry, NULL, + after_soft_irq_entry, NULL, &hooks); lttv_trace_find_hook(ts->parent.parent.t, -- 2.34.1