Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d603f61 authored by Dan Williams's avatar Dan Williams
Browse files

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: default avatarDan Williams <dan.j.williams@intel.com>
parent f3882203
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -269,8 +269,6 @@ static void __iop_adma_slot_cleanup(struct iop_adma_chan *iop_chan)
			break;
			break;
	}
	}


	BUG_ON(!seen_current);

	if (cookie > 0) {
	if (cookie > 0) {
		iop_chan->completed_cookie = cookie;
		iop_chan->completed_cookie = cookie;
		pr_debug("\tcompleted cookie %d\n", cookie);
		pr_debug("\tcompleted cookie %d\n", cookie);