From: Dan Williams Date: Tue, 6 Jan 2009 18:38:20 +0000 (-0700) Subject: iop-adma: kill debug BUG_ON X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0d603f611d6515049fbceb0267ded43c33b95451;p=mv-sheeva.git 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 --- 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);