mirror of https://gitee.com/openkylin/linux.git
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)
|
static irqreturn_t wmt_mci_dma_isr(int irq_num, void *data)
|
||||||
{
|
{
|
||||||
struct mmc_host *mmc;
|
|
||||||
struct wmt_mci_priv *priv;
|
struct wmt_mci_priv *priv;
|
||||||
|
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
priv = (struct wmt_mci_priv *)data;
|
priv = (struct wmt_mci_priv *)data;
|
||||||
mmc = priv->mmc;
|
|
||||||
|
|
||||||
status = readl(priv->sdmmc_base + SDDMA_CCR) & 0x0F;
|
status = readl(priv->sdmmc_base + SDDMA_CCR) & 0x0F;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue