aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-12-14 14:07:37 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-12-14 14:08:35 +0000
commit7aa51c9621190de7e25985b82768eee11c5642fd (patch)
treec9cf0901fd12c5eced2bfcff4bed22907b5f157e /sys/dev
parent0d3b2bd7e6aabed080095249fb08105982ee827a (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sdhci/sdhci.c2
1 files changed, 0 insertions, 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);
}