mirror of
https://github.com/torvalds/linux.git
synced 2024-12-17 00:21:32 +00:00
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>
This commit is contained in:
parent
4590205b9f
commit
8a8396ae21
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user