git: 7aa51c962119 - main - sdhci: plug set-but-not-unused vars
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 14 Dec 2021 14:08:44 UTC
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);
}