diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-10-20 05:29:56 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2016-10-20 05:29:56 +0000 |
commit | 13902e64131603cee7d0c19a07feab8d8e71bbda (patch) | |
tree | 1582e263ea4d8e1d24bf87d291467ff1878bc1f9 | |
parent | 872fe49a70d0b433e2613872cb5e696f6ebb112d (diff) |
remove unused variables
-rw-r--r-- | usr.bin/sndiod/dsp.c | 4 | ||||
-rw-r--r-- | 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 <alex@caoua.org> * @@ -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 <alex@caoua.org> * @@ -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; }; |