浏览代码

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>
Dan Williams 16 年之前
父节点
当前提交
0d603f611d
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 0 2
      drivers/dma/iop-adma.c

+ 0 - 2
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);