aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorOleksandr Tymoshenko <gonzo@FreeBSD.org>2013-02-17 01:34:25 +0000
committerOleksandr Tymoshenko <gonzo@FreeBSD.org>2013-02-17 01:34:25 +0000
commitacbaa69f312968dd2ff85e79b8adf52a1c26ade4 (patch)
tree639b434a09ceb954f00aecb9dcabc6b2ea8b5aee /sys/dev
parent51a325a7f9986b553c3155accb422f65c6d9032f (diff)
downloadsrc-acbaa69f312968dd2ff85e79b8adf52a1c26ade4.tar.gz
src-acbaa69f312968dd2ff85e79b8adf52a1c26ade4.zip
Remove accidentally committed debug panic(9) call
Notes
Notes: svn path=/head/; revision=246891
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/sdhci/sdhci.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/sdhci/sdhci.c b/sys/dev/sdhci/sdhci.c
index c89f60fc96ad..1044bb64b3e7 100644
--- a/sys/dev/sdhci/sdhci.c
+++ b/sys/dev/sdhci/sdhci.c
@@ -1090,12 +1090,8 @@ sdhci_data_irq(struct sdhci_slot *slot, uint32_t intmask)
}
if (intmask & SDHCI_INT_DATA_TIMEOUT)
slot->curcmd->error = MMC_ERR_TIMEOUT;
- else if (intmask & (SDHCI_INT_DATA_CRC | SDHCI_INT_DATA_END_BIT)) {
- if (intmask & SDHCI_INT_DATA_CRC) {
- panic("DATA CRC error\n");
- }
+ else if (intmask & (SDHCI_INT_DATA_CRC | SDHCI_INT_DATA_END_BIT))
slot->curcmd->error = MMC_ERR_BADCRC;
- }
if (slot->curcmd->data == NULL &&
(intmask & (SDHCI_INT_DATA_AVAIL | SDHCI_INT_SPACE_AVAIL |
SDHCI_INT_DMA_END))) {