summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2013-06-09 21:10:01 +0200
committerChris Ball <cjb@laptop.org>2013-06-27 12:39:11 -0400
commit331947932dfded1e458af9eee43aec918d7a5dad (patch)
treece349bd804ab46e55e2b5a7997d2b1583f6d7faa /drivers
parent9668d765eab78d58e656177db2acb57c249b9c01 (diff)
downloadop-kernel-dev-331947932dfded1e458af9eee43aec918d7a5dad.zip
op-kernel-dev-331947932dfded1e458af9eee43aec918d7a5dad.tar.gz
mmc: jz4740: Remove duplicated code.
Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/host/jz4740_mmc.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/mmc/host/jz4740_mmc.c b/drivers/mmc/host/jz4740_mmc.c
index c4f3872..b31359d 100644
--- a/drivers/mmc/host/jz4740_mmc.c
+++ b/drivers/mmc/host/jz4740_mmc.c
@@ -560,11 +560,6 @@ static irqreturn_t jz_mmc_irq(int irq, void *devid)
if (cmd->data)
cmd->data->error = -EIO;
cmd->error = -EIO;
- } else if (status & (JZ_MMC_STATUS_CRC_READ_ERROR |
- JZ_MMC_STATUS_CRC_WRITE_ERROR)) {
- if (cmd->data)
- cmd->data->error = -EIO;
- cmd->error = -EIO;
}
jz4740_mmc_set_irq_enabled(host, irq_reg, false);
OpenPOWER on IntegriCloud