From nobody Mon Feb 21 10:12:12 2022 X-Original-To: dev-commits-src-main@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 1B2B819DFA39; Mon, 21 Feb 2022 10:12:13 +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 4K2J4r37K7z4ZjC; Mon, 21 Feb 2022 10:12:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645438333; 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=ZN8dkbPdfZVJBAgL4NYlnNznr064ham1J0qsj+I5XuI=; b=XQtvKjIuW2cxWFeT59jNRgz7T1cqnwkT4WhISAWgAzmn4FAZ8HUaCY+DesIItqzgmXNAn3 4jjinnAd6m6qb1VjGXtt5h2KxFgJDAiVc4jb43HBKtErbrR478b7DO5MtIZOBLMOgeg3wD 19sER/G4hcjqVzHM6CHVt3xr93AJ5JW4TmtR+UZe7VgItmJGeDkOq5svPl6+3eWHBIWacs NSblTrj04XbKH/cGEbdFP630IOwzAHtkqhTU0EgQLOAI/5hJHFnGuQWnwMOelOC7e/+NKw yaIl8i5jNEjYfbksxUsNpRYoAXzQ7tm4qXgJpzhHHe/2txxSdncel5WW/7p6kQ== 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 40FF46524; Mon, 21 Feb 2022 10:12:12 +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 21LACCZo010157; Mon, 21 Feb 2022 10:12:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21LACCXe010156; Mon, 21 Feb 2022 10:12:12 GMT (envelope-from git) Date: Mon, 21 Feb 2022 10:12:12 GMT Message-Id: <202202211012.21LACCXe010156@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 6582b75a32b0 - main - audio_soc: Plug set but not used variable List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6582b75a32b08004564c7ab97084fe8f2bd08fa5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645438333; 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=ZN8dkbPdfZVJBAgL4NYlnNznr064ham1J0qsj+I5XuI=; b=sB+BlHplVuC+V3qBmOdDP3snopzAw1JTQmrZnPO9X1hkh2yGs25KMy07jPwwQXQqWHwo39 PGtNFjZO9f99xZKHE/4IbWrIY3J8WUBJilp2lbOk/McVvUvR1lpm8rqh0LmIDmvF1v0Myh p1FaDq09D+HoLwi6XQlJ46BndHUEaQ9UV18v6zK3fZY4ROYWrTpR92qn7Kg9I15g72kxJA bIB0JrrSPauS9sLIZbNgXQTQbUp/953oh2FgSribPj1On8iy2R1yzZkyiqAuTLIIN6entU Bez6gB3SevocbmqEiWePGbZzXvPmcwhRnEsm60G9zkXLmihsgfp7MK8I7rmGVQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645438333; a=rsa-sha256; cv=none; b=B2m+liOd3OjU/ZxXb4sf7jC8v5wGmI3Xa5+qRZMU+99zOYesNywH4KMGwtven0wZYLxLw+ mF83I033pz/YjnfZUnc9GZzBD5N+aICFiSgGZDqL6ysNoNdZK3Xj2JH2mL26PZP7dEhD4J 1sysi6hiEMlkeEP5QLtwEs7TczAr6RkddzQzdTQ5uhQHfFFJRnV7RoC+S7/MEiGyZJnyk/ 7cN1wc1BBP9NWqNna53m/y8woFQ5LPazrTyQ8v9tY/ATI2/CR9ccabC8rI751IxDAqrA6S FB1xM89oQ7Q16Fd4HOP0RxFDB3Anoww6zQldWbz94LAuOUtAobyceFhEE8NQaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=6582b75a32b08004564c7ab97084fe8f2bd08fa5 commit 6582b75a32b08004564c7ab97084fe8f2bd08fa5 Author: Emmanuel Vadot AuthorDate: 2022-02-21 10:03:38 +0000 Commit: Emmanuel Vadot CommitDate: 2022-02-21 10:08:20 +0000 audio_soc: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG --- sys/dev/sound/fdt/audio_soc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/sound/fdt/audio_soc.c b/sys/dev/sound/fdt/audio_soc.c index 6ce64cc9eeed..627bd26094ba 100644 --- a/sys/dev/sound/fdt/audio_soc.c +++ b/sys/dev/sound/fdt/audio_soc.c @@ -207,12 +207,10 @@ static void * audio_soc_chan_init(kobj_t obj, void *devinfo, struct snd_dbuf *b, struct pcm_channel *c, int dir) { - struct audio_soc_softc *sc; struct audio_soc_channel *ausoc_chan; void *buffer; ausoc_chan = devinfo; - sc = ausoc_chan->sc; buffer = malloc(AUDIO_BUFFER_SIZE, M_DEVBUF, M_WAITOK | M_ZERO); if (sndbuf_setup(b, buffer, AUDIO_BUFFER_SIZE) != 0) { @@ -248,12 +246,10 @@ static int audio_soc_chan_free(kobj_t obj, void *data) { - struct audio_soc_softc *sc; struct audio_soc_channel *ausoc_chan; void *buffer; ausoc_chan = (struct audio_soc_channel *)data; - sc = ausoc_chan->sc; buffer = sndbuf_getbuf(ausoc_chan->buf); if (buffer)