MLK-17782 dma: fsl-edma-v3: fix issue reported by Coverity
authorRobin Gong <yibin.gong@nxp.com>
Mon, 12 Mar 2018 18:03:09 +0000 (02:03 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:56:51 +0000 (14:56 -0500)
commit96b65a9a2c772ea5ba3cd351f9b3f5ddc0d1db0a
treedf39d06e9f7b0e0c0b7bf81ed0e233b71d43933e
parent58aa5debc06ce21d7c05a08cfedf782d0bb23d95
MLK-17782 dma: fsl-edma-v3: fix issue reported by Coverity

Fix below issue reported by Coverity, actually, don't need this
condition check here, remove it.

CID undefined (#1 of 1): Wrong operator used (CONSTANT_EXPRESSION_RESULT)operator_confusion:
(16UL /* 1UL << 4 */) | (__u16)(__le16)tcd->csr is always 1/true regardless of the values of its operand.
This occurs as the logical first operand of "&&".

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
drivers/dma/fsl-edma-v3.c