From 13902e64131603cee7d0c19a07feab8d8e71bbda Mon Sep 17 00:00:00 2001 From: Alexandre Ratchov Date: Thu, 20 Oct 2016 05:29:56 +0000 Subject: remove unused variables --- usr.bin/sndiod/dsp.c | 4 +--- usr.bin/sndiod/dsp.h | 3 +-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/usr.bin/sndiod/dsp.c b/usr.bin/sndiod/dsp.c index dc371c1be4c..c6ea48fe3a6 100644 --- a/usr.bin/sndiod/dsp.c +++ b/usr.bin/sndiod/dsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dsp.c,v 1.10 2016/01/09 08:53:08 ratchov Exp $ */ +/* $OpenBSD: dsp.c,v 1.11 2016/10/20 05:29:55 ratchov Exp $ */ /* * Copyright (c) 2008-2012 Alexandre Ratchov * @@ -304,8 +304,6 @@ resamp_init(struct resamp *p, unsigned int iblksz, p->iblksz = iblksz; p->oblksz = oblksz; p->diff = 0; - p->idelta = 0; - p->odelta = 0; p->nch = nch; p->ctx_start = 0; for (i = 0; i < NCHAN_MAX * RESAMP_NCTX; i++) diff --git a/usr.bin/sndiod/dsp.h b/usr.bin/sndiod/dsp.h index c61c0ed327e..e5647b23ceb 100644 --- a/usr.bin/sndiod/dsp.h +++ b/usr.bin/sndiod/dsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dsp.h,v 1.5 2016/01/08 16:17:31 ratchov Exp $ */ +/* $OpenBSD: dsp.h,v 1.6 2016/10/20 05:29:55 ratchov Exp $ */ /* * Copyright (c) 2012 Alexandre Ratchov * @@ -116,7 +116,6 @@ struct resamp { adata_t ctx[NCHAN_MAX * RESAMP_NCTX]; unsigned int iblksz, oblksz; int diff; - int idelta, odelta; /* remainder of ipos/opos */ int nch; }; -- cgit v1.2.3