diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2013-01-16 21:32:52 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-02-24 14:36:59 -0500 |
commit | da86a5d4ef0df1c8fbdbe3ac37ef271f93e412c5 (patch) | |
tree | 0dabeffa21a3b0a9a0e8bf199f4213a1c553d1f9 /drivers/mmc | |
parent | b477426e3701946870d427d183ef492d7e54f111 (diff) |
mmc: sdhci-esdhc-imx: Remove unused variables
3f175a6e5 (mmc: sdhci-esdhc-imx: remove ESDHC_CD_GPIO handling from IO
accessory) introduced the following build warnings:
drivers/mmc/host/sdhci-esdhc-imx.c:149:30: warning: unused variable 'boarddata' [-Wunused-variable]
drivers/mmc/host/sdhci-esdhc-imx.c:181:30: warning: unused variable 'boarddata' [-Wunused-variable]
Remove the unused variables.
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-esdhc-imx.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c index 6ffd15e7a3b1..370c052f4293 100644 --- a/drivers/mmc/host/sdhci-esdhc-imx.c +++ b/drivers/mmc/host/sdhci-esdhc-imx.c | |||
@@ -144,10 +144,6 @@ static inline void esdhc_clrset_le(struct sdhci_host *host, u32 mask, u32 val, i | |||
144 | 144 | ||
145 | static u32 esdhc_readl_le(struct sdhci_host *host, int reg) | 145 | static u32 esdhc_readl_le(struct sdhci_host *host, int reg) |
146 | { | 146 | { |
147 | struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); | ||
148 | struct pltfm_imx_data *imx_data = pltfm_host->priv; | ||
149 | struct esdhc_platform_data *boarddata = &imx_data->boarddata; | ||
150 | |||
151 | u32 val = readl(host->ioaddr + reg); | 147 | u32 val = readl(host->ioaddr + reg); |
152 | 148 | ||
153 | if (unlikely(reg == SDHCI_CAPABILITIES)) { | 149 | if (unlikely(reg == SDHCI_CAPABILITIES)) { |
@@ -178,7 +174,6 @@ static void esdhc_writel_le(struct sdhci_host *host, u32 val, int reg) | |||
178 | { | 174 | { |
179 | struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); | 175 | struct sdhci_pltfm_host *pltfm_host = sdhci_priv(host); |
180 | struct pltfm_imx_data *imx_data = pltfm_host->priv; | 176 | struct pltfm_imx_data *imx_data = pltfm_host->priv; |
181 | struct esdhc_platform_data *boarddata = &imx_data->boarddata; | ||
182 | u32 data; | 177 | u32 data; |
183 | 178 | ||
184 | if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)) { | 179 | if (unlikely(reg == SDHCI_INT_ENABLE || reg == SDHCI_SIGNAL_ENABLE)) { |