diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2013-03-11 18:36:09 +0400 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2013-03-22 20:37:50 +0400 |
commit | 8a8396ae218a9e8dd4af285cc9c22951bed9850e (patch) | |
tree | a9155e5a57bc82e2b724d0fb6ad134a776cdbb00 /drivers/mmc/host/wmt-sdmmc.c | |
parent | 4590205b9f9379a55b8fb0b6503c15a106a97b12 (diff) | |
download | linux-8a8396ae218a9e8dd4af285cc9c22951bed9850e.tar.xz |
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) static irqreturn_t wmt_mci_dma_isr(int irq_num, void *data) { - struct mmc_host *mmc; struct wmt_mci_priv *priv; int status; priv = (struct wmt_mci_priv *)data; - mmc = priv->mmc; status = readl(priv->sdmmc_base + SDDMA_CCR) & 0x0F; |