[POWERPC] Simplify dma_ops bug conditions
commit5d33eebee83784f5f03bc3861fa92ee5cd831922
authorJeremy Kerr <jk@ozlabs.org>
Thu, 13 Jul 2006 06:32:52 +0000 (13 16:32 +1000)
committerPaul Mackerras <paulus@samba.org>
Mon, 31 Jul 2006 05:55:06 +0000 (31 15:55 +1000)
tree3da9ff7109e0a1d3cd3c17f332dfb84a237852f3
parent931b261f442e779b0656d9b04c7ffe4939ef8c0a
[POWERPC] Simplify dma_ops bug conditions

Use BUG_ON rather than BUG to simplify the dma_ops handing,
and remove the now-unnecessary return cases.

Booted on pseries.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kernel/dma_64.c