From nobody Tue Apr 05 04:32:38 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 1B1351A917EA; Tue, 5 Apr 2022 04:32:39 +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 4KXZWB6RQWz4gKb; Tue, 5 Apr 2022 04:32:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133159; 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=tUEkZc29kkKnstPx5sCV5JZ3Kcfvf/byxRDZfBMFXKY=; b=DBow4/2MpDvaZu7Q4l2XZNycTE7FR6bC+Lg8K+9CUNx/gpcUIoB/oYWmMQwhevQ8a8M4Ff W2hOZVva2CBoblml3f1Y7bmrVsVTg83XKvTL6OX1VlAqPyBXDBDH/b5BBj8XMdxFthsn17 akkrzUCZ3zgHiPNOz8IMAoIFWhVSk5C8yZ22Zd8S6xua3T83NNlI2BFk+Ek6nLtjR4uNcH 0w3YjW3oouit1Q6heD5VEQTJ+tktY9ENeVVzNyiSa9UpVlLnB3+WSZypBGEhvNXeN99t+d A5yAPy2CpAE+Zk4av6m1Zz8USzS8InTfBtyCJgYXiHd02wTmHnS16uJaYFt5dg== 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 6A6521FB48; Tue, 5 Apr 2022 04:32:38 +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 2354WcPO009261; Tue, 5 Apr 2022 04:32:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354WcO4009260; Tue, 5 Apr 2022 04:32:38 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:32:38 GMT Message-Id: <202204050432.2354WcO4009260@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 3e423419cf02 - main - midicsa_attach: eliminate write only variable func 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/main X-Git-Reftype: branch X-Git-Commit: 3e423419cf02c9e314b66b51c1fb0f987839de5e Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133159; 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=tUEkZc29kkKnstPx5sCV5JZ3Kcfvf/byxRDZfBMFXKY=; b=uiP6qWdWq+O8v9zOTeIITTuJ15t5t6ixB8MqH/IZ844hPWuYl1CQO5rZWhOnVSvM2fKm22 HetVuXsJP6hahjKaf5Dm6ScRQmdTiABzklIr78xThHb+m0go/OLcfsvWykk6xx3NDYPJD5 0B6AymFn15JTXYzUMNH+uBfgB0iLCzoVKJej9chhoLxWpa2roSroxXrwZCBF4gFmxEEhx5 JxmlCkwAS/n2zhUQt8Zag6A45XqvfK7rmw+xJcgW/ClWbQo4WYdDmGfS6YvOuObDCtOlQI N8BgjTT/M6+7cYqMYVfEQq+LLXU0vCaYkGotrGHaqNcRrJDBXX4SHUGYc6xOGg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133159; a=rsa-sha256; cv=none; b=k6g4zzjbsjmQL3HwHibnoHz3B56MoP6nyJwy+SqgRxMVEHkpcwIAKVp3R2I3nxsuiaAG/g kXOvFJOHhLeNWHi53dnEwLG/SmKwMjltygtWSaJbwhw6b6eCv6+2pEiT6LMxIfK8/9dXow UzgPl5AQAU8f7n/LUpsU1VcDYMkVG9qM9IUA69YM5+ZxX+sWfd3iTNmWKCRcmcBtYWdfyA SG6u8vkDSbIRBGNv9XyjHnwAVJ9VtDtJov6E1AR4pN0MseQGzS9RjuYfa1sn5bcbS0Fr2t hd8iJ1B2S4AFFkblEbLGXSdKH5gFQN2FVWUIwBahV8KUcaAvBJBiEGULYvmQHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=3e423419cf02c9e314b66b51c1fb0f987839de5e commit 3e423419cf02c9e314b66b51c1fb0f987839de5e Author: Warner Losh AuthorDate: 2022-04-05 02:16:49 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:30:06 +0000 midicsa_attach: eliminate write only variable func Sponsored by: Netflix --- sys/dev/sound/pci/csamidi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/sound/pci/csamidi.c b/sys/dev/sound/pci/csamidi.c index 21543e736e9f..a013f8d9f3e6 100644 --- a/sys/dev/sound/pci/csamidi.c +++ b/sys/dev/sound/pci/csamidi.c @@ -202,11 +202,9 @@ static int midicsa_attach(device_t dev) { struct csa_midi_softc *scp; - struct sndcard_func *func; int rc = ENXIO; scp = device_get_softc(dev); - func = device_get_ivars(dev); bzero(scp, sizeof(struct csa_midi_softc)); scp->dev = dev;