Skip to content
Commit 83961aac authored by Wan Jiabing's avatar Wan Jiabing Committed by Ulf Hansson
Browse files

mmc: atmel-mci: Simplify if(chan) and if(!chan)



Use if(!host->dma.chan) instead of if(chan) and if(!chan) to make
code better.

Signed-off-by: default avatarWan Jiabing <wanjiabing@vivo.com>
Link: https://lore.kernel.org/r/20220427120310.838843-1-wanjiabing@vivo.com
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 0e8bb666
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment