From nobody Sun Oct 02 04:29:56 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 4Mg9x04Rgdz4dtBj; Sun, 2 Oct 2022 04:29:56 +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 4Mg9x027XXz45rt; Sun, 2 Oct 2022 04:29:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684996; 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=QBZ+2xWvpWTlo1Th3tpCZMEFWubFfH/lEbg5ulL/Pic=; b=RUy+njW70dIhtSwCDpjDz3+sKyGGXPcIOmM4TIJPMjoINGQu5dzdyEcFGzkw2VDPAUP80G XdtWzrt80RAb9LFc3kE4TkIAJKTJcKTqGq61Y7bVOnmgeJYMA9+YDNd4dxvFqeNdmDsHaY 0xLfFiOAkOh6Ip03X/GM6xZh/uBlzY+e1ObthCUj4To4fUkn8bM5LOpyIuLK1imSJIUELh a/86jPfLXJQlVfUF9zgi/oRZORb5KoYMj7IFe4v6xa4d21H2/gyg6fKhw+H4cv/II27zJ/ 34u+/coxAxkK2/k5RUiTycFgKT1z2WKlqVZfHjCqm5MLAnwezkH1WM40KWWkQA== 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 4Mg9x018S5zlQT; Sun, 2 Oct 2022 04:29:56 +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 2924TuLd058856; Sun, 2 Oct 2022 04:29:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924TuxL058855; Sun, 2 Oct 2022 04:29:56 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:29:56 GMT Message-Id: <202210020429.2924TuxL058855@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: 79ef6bcd7823 - stable/13 - hdspe_dmapsetmap: eliminate write only variable sc 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 79ef6bcd782369f19555c6ede2629ce026ff9da8 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664684996; 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=QBZ+2xWvpWTlo1Th3tpCZMEFWubFfH/lEbg5ulL/Pic=; b=mNOAMq5ZUwaTo/8krpDfElhjyUye/jWdv5OTqCB64ZGGGsuy/643cvroqg5G9nfuI+WQvK 861xyE3wHhpon2pYiukHyGBYHmG3j0yKV785bVj7m6ahKsavJiYFWoEmWlGJ9JCIUe8OJl wADI7q7pZBza6bqf6guVWwqAsc9l1QtBcj0Ni/cYvVCUkc2N9qT/4CgZeD7dU1opbtyT08 s+Otfc7q3MBzafs6c4i3+Ofczoa8e49UolIz7jIy9+RDEm+9QeQKjgkIsx5f5xvkZE0FE0 KAOjlYf0nLNlV9PI+4P4umHTx0AUfGZnzzyTMh+fDbNPyPtRHbm4s0fB+Jh3Wg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664684996; a=rsa-sha256; cv=none; b=a3PD63BoGOGaG6YhvLefO8xZFyU+pjVJFnpehU8zITjYYVZncuSJVOcoqT1iFe+Q0hpxqS uOt+389L6tr0Up5FY4fAuwFI8BQLJ7m9LtjEFM56muCJKo07FBWWMq81gP2fu12G7J8HCS YCyJATHpWPbzKWhopKedhuqCo4LCvOydZlZbrnO8L206CLmdWBriemfgN0lpATU1ypOgJz SgHYubagEqBYNNFjNDD4YM2obfW1syYv1a8ZoJ5mawvPI0Jw6JC/ylHeBMVfMRaTu7rjx3 LFYhRTW76AoM09s1v3DEmtuf1XvSM6F6OnaHvA1m0X11hx/ZjV6eyxyZTOs5qg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=79ef6bcd782369f19555c6ede2629ce026ff9da8 commit 79ef6bcd782369f19555c6ede2629ce026ff9da8 Author: Warner Losh AuthorDate: 2022-07-08 17:53:33 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:55 +0000 hdspe_dmapsetmap: eliminate write only variable sc Sponsored by: Netflix (cherry picked from commit ad1b7fd71429468430e379fa0a4152f23b0af90a) --- sys/dev/sound/pci/hdspe.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/sound/pci/hdspe.c b/sys/dev/sound/pci/hdspe.c index 6eb0436816a6..700b85f776dd 100644 --- a/sys/dev/sound/pci/hdspe.c +++ b/sys/dev/sound/pci/hdspe.c @@ -122,10 +122,6 @@ hdspe_intr(void *p) static void hdspe_dmapsetmap(void *arg, bus_dma_segment_t *segs, int nseg, int error) { - struct sc_info *sc; - - sc = (struct sc_info *)arg; - #if 0 device_printf(sc->dev, "hdspe_dmapsetmap()\n"); #endif