Remove unused variable

This fixes a compile warning

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Dirk Hohndel 2011-09-07 21:12:13 -07:00 committed by Linus Torvalds
parent bd315a4804
commit 30d228f104

View file

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