Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33194793 authored by Paul Cercueil's avatar Paul Cercueil Committed by Chris Ball
Browse files

mmc: jz4740: Remove duplicated code.

parent 9668d765
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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);