From 8691fc004ba4f17477d90d03571c28ebd9189ae4 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 5 Sep 2008 22:30:59 +0000 Subject: [PATCH] Turn some lame pseudo-code into a less lame comment. --- sys/arm/at91/at91_mci.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/sys/arm/at91/at91_mci.c b/sys/arm/at91/at91_mci.c index f82cd1684cf6..1c0a22c73766 100644 --- a/sys/arm/at91/at91_mci.c +++ b/sys/arm/at91/at91_mci.c @@ -298,14 +298,7 @@ at91_mci_update_ios(device_t brdev, device_t reqdev) else WR4(sc, MCI_SDCR, RD4(sc, MCI_SDCR) & ~MCI_SDCR_SDCBUS); WR4(sc, MCI_MR, (RD4(sc, MCI_MR) & ~MCI_MR_CLKDIV) | clkdiv); -#if 0 - if (sc->vcc_pin) { - if (sc->power_mode == MMC_POWER_OFF) - gpio_set(sc->vcc_pin, 0); - else - gpio_set(sc->vcc_pin, 1); - } -#endif + /* XXX We need to turn the device on/off here with a GPIO pin */ return (0); }