powerpc: Simplify test in __dma_sync()
authorChristophe Leroy <christophe.leroy@c-s.fr>
Tue, 9 Feb 2016 16:08:29 +0000 (17:08 +0100)
committerScott Wood <oss@buserror.net>
Fri, 11 Mar 2016 23:20:12 +0000 (17:20 -0600)
commit8478d7f091138be32154c8fc28c52978e342cc6f
tree3a13c180405c78ad6052bd5c3fe3ffff2da87c76
parentaffe587bacf48e328fb8d4c5ef9007b9c555b128
powerpc: Simplify test in __dma_sync()

This simplification helps the compiler. We now have only one test
instead of two, so it reduces the number of branches.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Scott Wood <oss@buserror.net>
arch/powerpc/mm/dma-noncoherent.c
This page took 0.046698 seconds and 5 git commands to generate.