aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/dma/iop-adma.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:20 -0500
committerDan Williams <dan.j.williams@intel.com>2009-01-06 13:38:20 -0500
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 0c6bbf5407c4..e82e39e5da3b 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)
269 break; 269 break;
270 } 270 }
271 271
272 BUG_ON(!seen_current);
273
274 if (cookie > 0) { 272 if (cookie > 0) {
275 iop_chan->completed_cookie = cookie; 273 iop_chan->completed_cookie = cookie;
276 pr_debug("\tcompleted cookie %d\n", cookie); 274 pr_debug("\tcompleted cookie %d\n", cookie);