From nobody Sat Apr 09 01:31:49 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 AF5B91A8B928; Sat, 9 Apr 2022 01:31:50 +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 4KZyJk1RmCz4jqn; Sat, 9 Apr 2022 01:31:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649467910; 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=wTTVEwB7Y5qfwAWCRVOgapZVVkHGxQof0JhnOgambyI=; b=EFGMGF/SsX8KtNE4ltePODRTULkZHgsDROad8dNZuLJNryBklqTEQYYlP3Z2EpouQSI0VX HJ6e7SBNcdNhPYx0rzG0g1bcBb2TP15E29R6d3riPKiMbsRZZdM4uzJQ0TmoCGyqj7Ujyh 57w15DG9Ypcl3aXI/ZQFJVrr6TubtcxAONak93qNO7jTDHRKoMqjdlvdjRmk2nUUUDQk5M C397YZ8oUksEONTPX5AHAdxmK4HPrpNCFmY4DQjVd+svfaHXcDP6GEfR+tVeVb+75jdnt7 JP/tRLHX0M3a0BUHdsTe5ggDSksk3Y35ABLIF6PBqs4QQ8CnzAFY4/DDziRTmw== 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 064F610919; Sat, 9 Apr 2022 01:31:50 +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 2391VngI049440; Sat, 9 Apr 2022 01:31:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2391VnaT049439; Sat, 9 Apr 2022 01:31:49 GMT (envelope-from git) Date: Sat, 9 Apr 2022 01:31:49 GMT Message-Id: <202204090131.2391VnaT049439@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: 1624badace9f - main - imx6_ssi: Remove unused variables, #if 0 variables only used under #if 0. 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: 1624badace9fc04c41525be61cf898e85c85e672 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649467910; 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=wTTVEwB7Y5qfwAWCRVOgapZVVkHGxQof0JhnOgambyI=; b=PqppDr7eDVV4yEC9ihWHu49qq7f6DceN2P0n74DF2mKN235BtvNHXnbAgZ8eHu8luXMbow hV6xAnEpzeQEu1GnhlJrZAiCJwr/UEhZoplZd6xjLoM8VVunzhVTO3JZcnk6Q5CZ/+YnJT 4tD2SFXMPXz4veM0QPJHR/9I+Jc+r0AtLFALCTwscGBUjqrSv3g0TwDgtr3mZ6Zwd+cM6i FJikNM0fp0kWQ6QnydFCGAUhmAbZQi4sWdEbzSUtsR5QOW0eMAZoL9JBYFZZHHUvCd62CN WEfBMTSKXYwpt77Vsqv7RAeJdsshFdDWVG1QVrs6KMWvJMXg+ZvQ5f00a5F0MQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649467910; a=rsa-sha256; cv=none; b=muMGS0tAKCn/5mOP0RgfhXl0dFHrsuUrbGrgehzF5IB/Kr0m4OR/EHho5W+feYD7DdMAaU mhtGcVT5huq5ZLufNTJb5VvaBt5ckKGBQ2ILREpHDA7RbCATZEg5h2o9jmYWzX6Zeni9fo Evd/X6D5lGFwyG8HHbi35DfLWv2vuyM811vOQ9GofEwOFOBSVF1HoTXpWDqTPRapr2SNpy F71N+ozhNo77gxu/wJbyY0+xJCC8ShxffjXC1ve2B6jIXJ6J7hRGDbOsIGQDp2HoIif5Pe KxwQAkgUM1+0zXrcqm1vCrvOHyz/w0P6Tbz/HYTy6t72KG9NHL6BIPBxmL95RA== 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=1624badace9fc04c41525be61cf898e85c85e672 commit 1624badace9fc04c41525be61cf898e85c85e672 Author: John Baldwin AuthorDate: 2022-04-09 01:31:29 +0000 Commit: John Baldwin CommitDate: 2022-04-09 01:31:29 +0000 imx6_ssi: Remove unused variables, #if 0 variables only used under #if 0. --- sys/arm/freescale/imx/imx6_ssi.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/sys/arm/freescale/imx/imx6_ssi.c b/sys/arm/freescale/imx/imx6_ssi.c index 2330978849e9..8871e2dfbbfe 100644 --- a/sys/arm/freescale/imx/imx6_ssi.c +++ b/sys/arm/freescale/imx/imx6_ssi.c @@ -435,7 +435,7 @@ static int find_sdma_controller(struct sc_info *sc) { struct sdma_softc *sdma_sc; - phandle_t node, sdma_node; + phandle_t node; device_t sdma_dev; pcell_t dts_value[DMAS_TOTAL]; int len; @@ -458,8 +458,6 @@ find_sdma_controller(struct sc_info *sc) sc->sdma_ev_rx = dts_value[1]; sc->sdma_ev_tx = dts_value[5]; - sdma_node = OF_node_from_xref(dts_value[0]); - sdma_sc = NULL; sdma_dev = devclass_get_device(devclass_find("sdma"), 0); @@ -659,17 +657,17 @@ ssi_probe(device_t dev) static void ssi_intr(void *arg) { +#if 0 struct sc_pcminfo *scp; - struct sc_chinfo *ch; struct sc_info *sc; - - scp = arg; + + scp = arg; sc = scp->sc; - ch = &scp->chan[0]; +#endif /* We don't use SSI interrupt */ #if 0 - device_printf(sc->dev, "SSI Intr 0x%08x\n", + device_printf(scp->sc->dev, "SSI Intr 0x%08x\n", READ4(sc, SSI_SISR)); #endif }