aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mmc/host/dwmmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mmc/host/dwmmc.c')
-rw-r--r--sys/dev/mmc/host/dwmmc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/mmc/host/dwmmc.c b/sys/dev/mmc/host/dwmmc.c
index cb374a0e240e..80e719686185 100644
--- a/sys/dev/mmc/host/dwmmc.c
+++ b/sys/dev/mmc/host/dwmmc.c
@@ -751,12 +751,10 @@ static int
dma_prepare(struct dwmmc_softc *sc, struct mmc_command *cmd)
{
struct mmc_data *data;
- int len;
int err;
int reg;
data = cmd->data;
- len = data->len;
reg = READ4(sc, SDMMC_INTMASK);
reg &= ~(SDMMC_INTMASK_TXDR | SDMMC_INTMASK_RXDR);