aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-11-25 12:10:27 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-11-25 12:10:27 +0000
commit2ef1cfd2efc62532bb31cbc710a470b38b2990ae (patch)
tree5c7874549d8d1e61da5df046dc09d1843f8414ea
parent171e56c19a11d39942929ea219b71b6b7b0398ae (diff)
downloadsrc-2ef1cfd2efc62532bb31cbc710a470b38b2990ae.tar.gz
src-2ef1cfd2efc62532bb31cbc710a470b38b2990ae.zip
mmc: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
-rw-r--r--sys/dev/mmc/mmc.c4
1 files changed, 0 insertions, 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