summaryrefslogtreecommitdiff
path: root/include/tsi108.h
diff options
context:
space:
mode:
authorYe.Li <ye.li@nxp.com>2016-01-13 10:06:59 +0800
committerguoyin.chen <guoyin.chen@freescale.com>2016-03-04 15:53:38 +0800
commit58b76def496c69cd3eb03f114da24b3dd5a380c1 (patch)
tree783f1436c53f4f758f7647dbe1cf8704b0806dff /include/tsi108.h
parent8f6f4bd1baf57ad32673ca2f69d2f8baa5a8bc8f (diff)
downloadu-boot-imx-58b76def496c69cd3eb03f114da24b3dd5a380c1.zip
u-boot-imx-58b76def496c69cd3eb03f114da24b3dd5a380c1.tar.gz
u-boot-imx-58b76def496c69cd3eb03f114da24b3dd5a380c1.tar.bz2
MLK-12214 NAND:apbh_dma: Fix logically dead code issue
The list_first_entry always assumes the list is not empty, it won't return NULL pointer when the list is empty. So the "if (pdesc == NULL)" becomes a dead code. Fix the issue by calling the list_empty before the list_first_entry. (Coverity CID 29934) Signed-off-by: Ye.Li <ye.li@nxp.com>
Diffstat (limited to 'include/tsi108.h')
0 files changed, 0 insertions, 0 deletions