git: eda611e45eb4 - main - pcm via82c686: Remove unused variables.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 08 Apr 2022 00:03:52 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=eda611e45eb4c02bcc9ea026a300f05811ece8d4

commit eda611e45eb4c02bcc9ea026a300f05811ece8d4
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-04-08 00:01:29 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-04-08 00:01:29 +0000

    pcm via82c686: Remove unused variables.
---
 sys/dev/sound/pci/via82c686.c | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys/dev/sound/pci/via82c686.c b/sys/dev/sound/pci/via82c686.c
index 04d97ba8aa8d..88a162f7eb7c 100644
--- a/sys/dev/sound/pci/via82c686.c
+++ b/sys/dev/sound/pci/via82c686.c
@@ -341,14 +341,12 @@ viachan_trigger(kobj_t obj, void *data, int go)
 {
 	struct via_chinfo *ch = data;
 	struct via_info *via = ch->parent;
-	struct via_dma_op *ado;
 	bus_addr_t sgd_addr = ch->sgd_addr;
 
 	if (!PCMTRIG_COMMON(go))
 		return 0;
 
-	ado = ch->sgd_table;
-	DEB(printf("ado located at va=%p pa=%x\n", ado, sgd_addr));
+	DEB(printf("ado located at va=%p pa=%x\n", ch->sgd_table, sgd_addr));
 
 	snd_mtxlock(via->lock);
 	if (go == PCMTRIG_START) {
@@ -368,11 +366,9 @@ viachan_getptr(kobj_t obj, void *data)
 {
 	struct via_chinfo *ch = data;
 	struct via_info *via = ch->parent;
-	struct via_dma_op *ado;
 	bus_addr_t sgd_addr = ch->sgd_addr;
 	u_int32_t ptr, base, base1, len, seg;
 
-	ado = ch->sgd_table;
 	snd_mtxlock(via->lock);
 	base1 = via_rd(via, ch->base, 4);
 	len = via_rd(via, ch->count, 4);