From nobody Fri Apr 08 00:03:52 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 43DFA1A8888C; Fri, 8 Apr 2022 00:03:54 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZJPj1H4tz4lHf; Fri, 8 Apr 2022 00:03:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376233; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w2hG2KZLpZDJ8owKI93OYBV5L6kTMaSU1HNKHVbwdYU=; b=EKxYAxaSibcGouw/vQU4x691y4WFRlefHKZd4T7cQsYCNyyR5mlyJjOgEKKA8IqqetPu1j Ifo7FBAu2u+HS1+ivellex5InMD+80l9ac9xm7brXdXztiVfXniyZzXHGLXAXX0XXVufLX nGmQs937FQzRkf+rUAkU7AfKfItOkyjXU0zT57aDOxrBRx6CqL6SQ+QwsIYjlMcI0nzMSP YS9MYf1OPsi5msO3IhdzlJcvZk4VqWOIk9wCVq/Se+MNuSaIDCpCYBOkLi74y7GrJjHUx6 cur2AHG3+sGaG67HItoOyrQxnG0h6i8VNT6Apx43C+JUmUoyVeE8d3oE/yJWnA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6208F1A49E; Fri, 8 Apr 2022 00:03:52 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23803qgi086918; Fri, 8 Apr 2022 00:03:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23803qmD086917; Fri, 8 Apr 2022 00:03:52 GMT (envelope-from git) Date: Fri, 8 Apr 2022 00:03:52 GMT Message-Id: <202204080003.23803qmD086917@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: eda611e45eb4 - main - pcm via82c686: Remove unused variables. List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: eda611e45eb4c02bcc9ea026a300f05811ece8d4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649376233; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=w2hG2KZLpZDJ8owKI93OYBV5L6kTMaSU1HNKHVbwdYU=; b=ODCYuT+jXn3GBR6pdWfDtv9ULwWtO6qPlAB+wY2Z81wMySbMhLSJYyuoxK7DChgFMtwmOM tEtIuWU/6JHygF/kXU9/j079xd/ANJTdt+n0hYqJMZmtv2n7Faa2Tnxw+wfwpRL4DM9R5S f71rcAAReaOAHy7S20lSY+vL2yY/Ytj0QDhN0NGs17ksb34wF2DM12qHCKek+kcsI2WmN6 Q2+gSL46XHTg2BN8PquAYwsAYTlfYdNL/GIJODKi7EecpV0fH33yPs11TuHTojQsxbeMDK FS+7cDO1o8/IE+r1U3Tpzu0Fv2qt6nLC9ETpNlKGWSzdWwJDJ4i8BMi5ovZjZA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649376233; a=rsa-sha256; cv=none; b=GeoV77vRHwFULD/gcjsKn7zG4Iv4gFD+MfkXQaJT05tIW+HDAJoIZyLG+mLEh+vzrJ+tU0 fOr/h+3d0E8eF/bz5nNWPHFyB+6xNTT68cT8PuJEmCjwI+wiPrtqqkOC49cvxYC0DXbx0O TBVpYzCUWwpbbEYeoVUspg8yPPMuuVaB9At6c+jOjb2cDbgizqo8GFKIX50LEefvuCOD96 TFHyc0fRDcFQSg4P1DBHYPiksZ8/1jjbx5sSHmNAk/vO1d43jEfdKUrHDKXyYnVja5i35k kVajZC+uyeXGS8hakcapClkv1XVpOZCri03AmyrgzotEsoQ1OMt6as9vwP3CMQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=eda611e45eb4c02bcc9ea026a300f05811ece8d4 commit eda611e45eb4c02bcc9ea026a300f05811ece8d4 Author: John Baldwin AuthorDate: 2022-04-08 00:01:29 +0000 Commit: John Baldwin 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);