Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Dec 2021 14:08:44 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7aa51c962119 - main - sdhci: plug set-but-not-unused vars
Message-ID:  <202112141408.1BEE8i9d080536@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=7aa51c9621190de7e25985b82768eee11c5642fd

commit 7aa51c9621190de7e25985b82768eee11c5642fd
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-12-14 14:07:37 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-12-14 14:08:35 +0000

    sdhci: plug set-but-not-unused vars
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/dev/sdhci/sdhci.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index 22618ca0a822..126dd23e13fc 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -1689,9 +1689,7 @@ sdhci_req_done(struct sdhci_slot *slot)
 static void
 sdhci_req_wakeup(struct mmc_request *req)
 {
-	struct sdhci_slot *slot;
 
-	slot = req->done_data;
 	req->flags |= MMC_REQ_DONE;
 	wakeup(req);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112141408.1BEE8i9d080536>