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> Signed-off-by:
Vipul Kumar <vipul_kumar@mentor.com> Signed-off-by:
Srikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
Loading
Please register or sign in to comment