mmc: plug set-but-not-used vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
171e56c19a
commit
2ef1cfd2ef
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user