diff options
author | Ye.Li <ye.li@nxp.com> | 2016-01-13 10:06:59 +0800 |
---|---|---|
committer | Ye Li <ye.li@nxp.com> | 2016-03-25 11:48:34 +0800 |
commit | ff3923f294cc2e15f436d7520b4042736b1b48a6 (patch) | |
tree | 179e8d6d8148dd13e3748c23da83e25385b84bfd /drivers/usb | |
parent | 78f620a6d6ab44bd34e42f00abe4673db099ca73 (diff) | |
download | u-boot-imx-ff3923f294cc2e15f436d7520b4042736b1b48a6.zip u-boot-imx-ff3923f294cc2e15f436d7520b4042736b1b48a6.tar.gz u-boot-imx-ff3923f294cc2e15f436d7520b4042736b1b48a6.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 'drivers/usb')
0 files changed, 0 insertions, 0 deletions