diff options
author | Ye.Li <ye.li@nxp.com> | 2016-01-13 10:06:59 +0800 |
---|---|---|
committer | guoyin.chen <guoyin.chen@freescale.com> | 2016-03-04 15:53:38 +0800 |
commit | 58b76def496c69cd3eb03f114da24b3dd5a380c1 (patch) | |
tree | 783f1436c53f4f758f7647dbe1cf8704b0806dff /test/trace | |
parent | 8f6f4bd1baf57ad32673ca2f69d2f8baa5a8bc8f (diff) | |
download | u-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 'test/trace')
0 files changed, 0 insertions, 0 deletions