aboutsummaryrefslogtreecommitdiff
path: root/drivers/dma/iop-adma.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 11:38:20 -0700
committerDan Williams <dan.j.williams@intel.com>2009-01-06 11:38:20 -0700
commit0d603f611d6515049fbceb0267ded43c33b95451 (patch)
tree6d5468c0b0a07f100e9cbbb901fd840ebe91b89d /drivers/dma/iop-adma.c
parentf38822033d9eafd8a7b12dd7ad6dea26480ba339 (diff)
iop-adma: kill debug BUG_ON
This BUG_ON caught problems in early development but now it is in the way as it invalidly triggers when trying to remove the module. Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/iop-adma.c')
-rw-r--r--drivers/dma/iop-adma.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/dma/iop-adma.c b/drivers/dma/iop-adma.c
index 0c6bbf5407c..e82e39e5da3 100644
--- a/drivers/dma/iop-adma.c
+++ b/drivers/dma/iop-adma.c
@@ -269,8 +269,6 @@ static void __iop_adma_slot_cleanup(struct iop_adma_chan *iop_chan)
break;
}
- BUG_ON(!seen_current);
-
if (cookie > 0) {
iop_chan->completed_cookie = cookie;
pr_debug("\tcompleted cookie %d\n", cookie);