iop-adma: kill debug BUG_ON
authorDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:20 +0000 (11:38 -0700)
committerDan Williams <dan.j.williams@intel.com>
Tue, 6 Jan 2009 18:38:20 +0000 (11:38 -0700)
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>
drivers/dma/iop-adma.c

index 0c6bbf5407c4e5ba7909c8820e7edf62c74a161f..e82e39e5da3b4527bc2c20edbeafb20a8f21afd6 100644 (file)
@@ -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);