mmc: sdhci: Fix sdhci clk warnings
naveenk [Thu, 30 Aug 2012 09:03:16 +0000 (14:03 +0530)]
Bug 1017708

Change-Id: Id296ed1b39d12c26109162e150d96865a2712fe4
Signed-off-by: naveen kumar arepalli <naveenk@nvidia.com>
Reviewed-on: http://git-master/r/128456
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>

drivers/mmc/host/sdhci.c

index 13e422b..e6439b3 100644 (file)
@@ -1982,7 +1982,6 @@ static void sdhci_enable_preset_value(struct mmc_host *mmc, bool enable)
 int sdhci_enable(struct mmc_host *mmc)
 {
        struct sdhci_host *host = mmc_priv(mmc);
-       u16 clk;
 
        if (!mmc->card || mmc->card->type == MMC_TYPE_SDIO)
                return 0;
@@ -1999,7 +1998,6 @@ int sdhci_enable(struct mmc_host *mmc)
 int sdhci_disable(struct mmc_host *mmc, int lazy)
 {
        struct sdhci_host *host = mmc_priv(mmc);
-       u16 clk;
 
        if (!mmc->card || mmc->card->type == MMC_TYPE_SDIO)
                return 0;