summaryrefslogtreecommitdiff
path: root/drivers/mmc/host/vub300.c
diff options
context:
space:
mode:
authorShawn Lin <shawn.lin@rock-chips.com>2017-01-11 12:14:49 +0800
committerUlf Hansson <ulf.hansson@linaro.org>2017-02-13 13:20:13 +0100
commitdc0f585e839a857efd86968bfe65a905753182da (patch)
tree36bb74ee3c14f2cce61418ab401a68daad1d2f2e /drivers/mmc/host/vub300.c
parent5fc3d80ef496c3bc3e8c09f056e3586fb681de56 (diff)
mmc: vub300: Remove bogus check of irqs_queued
It's unnecessary to check the irqs_queued value as it always needs to queue one if irq isn't enabled. Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'drivers/mmc/host/vub300.c')
-rw-r--r--drivers/mmc/host/vub300.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/mmc/host/vub300.c b/drivers/mmc/host/vub300.c
index bb3e0d1dd355..21ea776c6e07 100644
--- a/drivers/mmc/host/vub300.c
+++ b/drivers/mmc/host/vub300.c
@@ -640,8 +640,6 @@ static void __vub300_irqpoll_response(struct vub300_mmc_host *vub300)
mutex_lock(&vub300->irq_mutex);
if (vub300->irq_enabled)
mmc_signal_sdio_irq(vub300->mmc);
- else if (vub300->irqs_queued)
- vub300->irqs_queued += 1;
else
vub300->irqs_queued += 1;
vub300->irq_disabled = 0;