From nobody Thu Nov 25 12:10:45 2021 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 327D6189C181; Thu, 25 Nov 2021 12:10:46 +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 4J0GtF5xRnz3rJr; Thu, 25 Nov 2021 12:10:45 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 ACED31D229; Thu, 25 Nov 2021 12:10:45 +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 1APCAjta005364; Thu, 25 Nov 2021 12:10:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1APCAjZo005363; Thu, 25 Nov 2021 12:10:45 GMT (envelope-from git) Date: Thu, 25 Nov 2021 12:10:45 GMT Message-Id: <202111251210.1APCAjZo005363@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mateusz Guzik Subject: git: 2ef1cfd2efc6 - main - mmc: plug set-but-not-used vars 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: mjg X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2ef1cfd2efc62532bb31cbc710a470b38b2990ae Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1637842245; 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=mPBNi0NbkNTsPV7BF0MsuQnyeDfzeYKfys0dDzu1yWU=; b=Mf7uVexHaGumgVmRRs7aqkdq3ylHMDfP52oo5kaGZZnH1ERH9WieIrD47pMp4eTXX/xDr9 lvgUDaqdFxWC4aQovrn9rIfhpj24DKBRtJU6M1/Jy+kr9pcNbIix6yqEDGedUM6b/fUXFt M9x7m78E68UiXqify6p8axehQUqMguGspjOTxyO6T+M6iospNaI0Cg6MAOnVADd05mSECl 5qu5CJMLdhw1ADhy0Sz82b71cTvdZWSxmylVUbcx4wUNw5DDMz5S9gjqFIoYAzU0q4Kabq y8nKydkN04Tymcsb6S9awT8uFDinYdXGZ17gW5cAVzhhQHNWQOMGfiXQ5iehSg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1637842245; a=rsa-sha256; cv=none; b=XVXtOrPbZwK5H/PCa6kIQ5ZGOaxqAWD41XYDJDzg3/k3BSFcIPZvBC1f4cJN8cmWxdpICC w4+jHX/IUxU5RxXn2Gp6RB+8h++4NSG47L0KpK53UT6bMYv7Blw2ug6rfToICb1Z+4LCfG jUrIDxUudlC+kBI+vQJRGkjHKUsv1hoLzzWfUIMD1BHTBcKeNC9xP+8uX8Q1YI3SXNn65H iGwrsidVHSTKPe2QxESWjWTTIghwv1kjWGXFf87Gy1lRFlUBUR1nS5MPLs2I7Vvgky7eU9 ECxmtIUahNvsTFaYk0mNICA2rzFCsDVBYH5VoF0xpMowUHIOD+rp2TBY1PKvww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by mjg: URL: https://cgit.FreeBSD.org/src/commit/?id=2ef1cfd2efc62532bb31cbc710a470b38b2990ae commit 2ef1cfd2efc62532bb31cbc710a470b38b2990ae Author: Mateusz Guzik AuthorDate: 2021-11-25 12:10:27 +0000 Commit: Mateusz Guzik CommitDate: 2021-11-25 12:10:27 +0000 mmc: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/mmc/mmc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index 071c238374df..1fc25e372f2b 100644 --- a/sys/dev/mmc/mmc.c +++ b/sys/dev/mmc/mmc.c @@ -2270,10 +2270,8 @@ mmc_switch_to_hs400(struct mmc_softc *sc, struct mmc_ivars *ivar, { device_t dev; int err; - uint16_t rca; dev = sc->dev; - rca = ivar->rca; /* * Both clock and timing must be set as appropriate for high speed @@ -2313,10 +2311,8 @@ mmc_switch_to_hs200(struct mmc_softc *sc, struct mmc_ivars *ivar, { device_t dev; int err; - uint16_t rca; dev = sc->dev; - rca = ivar->rca; /* * Both clock and timing must initially be set as appropriate for