From nobody Mon Feb 21 10:12:13 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 3DFD419DF9E1; Mon, 21 Feb 2022 10:12:14 +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 4K2J4s4HySz4ZyK; Mon, 21 Feb 2022 10:12:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645438334; 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=CUkclLloiXptm5r7oVhC53wXn1BA5gh13nOcXVtu3H4=; b=AXG+B7hhhd8cM3AgDX/ppfmEyjcFHpayXaaarmheLdrLe0KGokOuIX1aRn5PCyzSUdHLPK axYJIDtIIt6/05siH4fo3B8IifBVB5gsrtklUbCKuHImE6OxNoAU0spjfOMBXdbDQH61ix BDpFFn0FpYCDm8y3Rkx80oGxxGYWLYm/7+y4+FHttXSAIZqD5+pJLku0j96dWbWf6G8wQ5 xILMvJGx+FF7zjgKzskDDCb5gHUThnsnPDWuuSOTIJc+3U+LgCDlYKbiYxuHumadeDR28s 0kCPuKXzZxjo8pZFs2HF8TH42JwmTYO/LtN58NdkkBcQFbEzHvIIJiY0VA+o5w== 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 65675604D; Mon, 21 Feb 2022 10:12:13 +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 21LACD44010181; Mon, 21 Feb 2022 10:12:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21LACDVs010180; Mon, 21 Feb 2022 10:12:13 GMT (envelope-from git) Date: Mon, 21 Feb 2022 10:12:13 GMT Message-Id: <202202211012.21LACDVs010180@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: 4f118605ad5f - main - twsi: Plug set but not used variable 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: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 4f118605ad5f8aa5df749e99ee9822f5f1c997b5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645438334; 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=CUkclLloiXptm5r7oVhC53wXn1BA5gh13nOcXVtu3H4=; b=WQGihvVlgjr26+x3cSjKPfqp0THQnlYXqaK3b/RR4Nx/FELFWprTSTDmB8d/0ozGWhAlrD 8V7kcQx9QNonuOes2oyiWCvFcMoFgrsK9CDKsmBfZl1oE2tx69rWK1FF0Xm3sRkeGZ+yBu UrWRDSVXBBBtWU2xcGAlU2VtAi4tgqLzNGExV+t95Rs2WhVgmvX7QGo/L9mDZREzaIlaKq e5R2ZLLYSHxtXpSFoJUhihxFhVpsIZ6w9SIybL8qStqoFfslnd50BiXhkNoua09UeReF9E eOnckXsEFnULi42Ec8/MTn+U0LJLdKYe+MOdFXhfubQvwqQ/rpURagJT8vSP9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645438334; a=rsa-sha256; cv=none; b=arGArq9tBdbcQV6JLJ7K9Jr3nHm7hGkFVFBC3btDC+l8Rizo1PP12brwzfgM2UVAUyX36/ 2AJH7uGuI1M3dGco2HUrMSes7DvX6AmNJFGdlbrooc8NuuTDloRkSGdDqpgMYTnogKKz8W vetQKvDsuKqTcBOCsoRy/9UbqpKYmPw7uaDn3jYWC0xYL3eQT6+NT1jkgaCJcOIuD/qWoH EdkjrTm/fJ6p7QYLaRajfE7MbkqQFTMLRb3hOuI3D/IdUeizIheJ6AJNTSInowrcZSLU2W bI9idTAiRwmYSk+KAhXLe1i+BSRoVQbhTtSo1whZu5ZmZGYomhAOyvQnhgVPtA== 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=4f118605ad5f8aa5df749e99ee9822f5f1c997b5 commit 4f118605ad5f8aa5df749e99ee9822f5f1c997b5 Author: Emmanuel Vadot AuthorDate: 2022-02-21 10:03:57 +0000 Commit: Emmanuel Vadot CommitDate: 2022-02-21 10:08:21 +0000 twsi: Plug set but not used variable Sponsored by: Beckhoff Automation GmbH & Co. KG --- sys/dev/iicbus/twsi/mv_twsi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/iicbus/twsi/mv_twsi.c b/sys/dev/iicbus/twsi/mv_twsi.c index cb10c1045347..793b674730ed 100644 --- a/sys/dev/iicbus/twsi/mv_twsi.c +++ b/sys/dev/iicbus/twsi/mv_twsi.c @@ -138,9 +138,7 @@ mv_twsi_get_node(device_t bus, device_t dev) static int mv_twsi_probe(device_t dev) { - struct twsi_softc *sc; - sc = device_get_softc(dev); if (!ofw_bus_status_okay(dev)) return (ENXIO);