From 2ef1cfd2efc62532bb31cbc710a470b38b2990ae Mon Sep 17 00:00:00 2001 From: Mateusz Guzik Date: Thu, 25 Nov 2021 12:10:27 +0000 Subject: [PATCH] mmc: plug set-but-not-used vars Sponsored by: Rubicon Communications, LLC ("Netgate") --- sys/dev/mmc/mmc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index 071c238374d..1fc25e372f2 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