Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: ae6e470252d9312dce20d0b21e7f622c4ca9ad0a https://github.com/tianocore/edk2/commit/ae6e470252d9312dce20d0b21e7f622c4ca9ad0a Author: Ranbir Singh <ranbir.sin...@dell.com> Date: 2023-02-02 (Thu, 02 Feb 2023)
Changed paths: M MdeModulePkg/Bus/Ata/AhciPei/AhciPeiS3.c Log Message: ----------- MdeModulePkg/Bus/Ata/AhciPei: Fix DEADCODE Coverity issue REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4201 The code can reach line 69 only through the else path above at line 57. The else path already has the same NULL check at line 59 and hence the duplicate code lines are totally redundant which can be deleted. Signed-off-by: Ranbir Singh <ranbir.sin...@dell.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits