Browse Source

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 years ago
parent
commit
0d603f611d
1 changed files with 0 additions and 2 deletions
  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);