mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
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>
This commit is contained in:
parent
9668d765ea
commit
331947932d
1 changed files with 0 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue