pcm hdspe: Remove unused variable.

This commit is contained in:
John Baldwin 2022-04-07 17:01:29 -07:00
parent 92e7c96648
commit 11fd7ec044

View File

@ -263,7 +263,6 @@ buffer_copy(struct sc_chinfo *ch)
struct sc_info *sc;
int ssize, dsize;
int src, dst;
int length;
int n;
int i;
@ -272,9 +271,6 @@ buffer_copy(struct sc_chinfo *ch)
n = AFMT_CHANNEL(ch->format); /* n channels */
length = sndbuf_getready(ch->buffer) /
(4 /* Bytes per sample. */ * n);
if (ch->dir == PCMDIR_PLAY) {
src = sndbuf_getreadyptr(ch->buffer);
} else {