diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-11 10:36:09 -0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-03-22 12:37:50 -0400 |
commit | 8a8396ae218a9e8dd4af285cc9c22951bed9850e (patch) | |
tree | a9155e5a57bc82e2b724d0fb6ad134a776cdbb00 /drivers/mmc/host/wmt-sdmmc.c | |
parent | 4590205b9f9379a55b8fb0b6503c15a106a97b12 (diff) |
mmc: wmt-sdmmc: remove unused variable in wmt_complete_data_request()
The variable 'mmc' is initialized but never used, so remove it.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/host/wmt-sdmmc.c')
-rw-r--r-- | drivers/mmc/host/wmt-sdmmc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/wmt-sdmmc.c b/drivers/mmc/host/wmt-sdmmc.c index c6d001509e5a..74cbc9a98428 100644 --- a/drivers/mmc/host/wmt-sdmmc.c +++ b/drivers/mmc/host/wmt-sdmmc.c | |||
@@ -348,13 +348,11 @@ static void wmt_complete_data_request(struct wmt_mci_priv *priv) | |||
348 | 348 | ||
349 | static irqreturn_t wmt_mci_dma_isr(int irq_num, void *data) | 349 | static irqreturn_t wmt_mci_dma_isr(int irq_num, void *data) |
350 | { | 350 | { |
351 | struct mmc_host *mmc; | ||
352 | struct wmt_mci_priv *priv; | 351 | struct wmt_mci_priv *priv; |
353 | 352 | ||
354 | int status; | 353 | int status; |
355 | 354 | ||
356 | priv = (struct wmt_mci_priv *)data; | 355 | priv = (struct wmt_mci_priv *)data; |
357 | mmc = priv->mmc; | ||
358 | 356 | ||
359 | status = readl(priv->sdmmc_base + SDDMA_CCR) & 0x0F; | 357 | status = readl(priv->sdmmc_base + SDDMA_CCR) & 0x0F; |
360 | 358 | ||