From 30d228f104b5f1eb2c8354460b19e0b367d899ee Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Wed, 7 Sep 2011 21:12:13 -0700 Subject: Remove unused variable This fixes a compile warning Signed-off-by: Dirk Hohndel Signed-off-by: Linus Torvalds --- profile.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/profile.c b/profile.c index 16522db99..39db599ce 100644 --- a/profile.c +++ b/profile.c @@ -152,12 +152,11 @@ static struct sample *next_minmax(struct sample *sample, struct sample *end, int result = NULL; for (;;) { - int time, depth; + int depth; sample++; if (sample >= end) return NULL; - time = sample->time.seconds; depth = sample->depth.mm; if (minmax) { -- cgit v1.2.3-70-g09d2