Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4317b4824bc881fe6079d04b7ee5b0f6bddf62ca
      
https://github.com/tianocore/edk2/commit/4317b4824bc881fe6079d04b7ee5b0f6bddf62ca
  Author: Ranbir Singh <[email protected]>
  Date:   2023-09-20 (Wed, 20 Sep 2023)

  Changed paths:
    M MdeModulePkg/Bus/Pci/NvmExpressPei/NvmExpressPeiS3.c

  Log Message:
  -----------
  MdeModulePkg/Bus/Pci/NvmExpressPei: Fix DEADCODE Coverity issue

The code can reach line 65 only through the else path above at line 53.
The else path already has the same NULL check at line 55 and hence the
duplicate code lines are totally redundant which can be deleted.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4220

Cc: Hao A Wu <[email protected]>
Cc: Ray Ni <[email protected]>
Co-authored-by: Veeresh Sangolli <[email protected]>
Signed-off-by: Ranbir Singh <[email protected]>
Signed-off-by: Ranbir Singh <[email protected]>
Reviewed-by: Hao A Wu <[email protected]>




_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to