]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Ata/AhciPei/AhciPeiS3.c
MdeModulePkg/Bus/Ata/AhciPei: Fix DEADCODE Coverity issue
[mirror_edk2.git] / MdeModulePkg / Bus / Ata / AhciPei / AhciPeiS3.c
index 42e4203a22984c627b01085dd22e26c7eae6eedc..6013af858d5609a305b8329d043eb506d6039f17 100644 (file)
@@ -66,10 +66,6 @@ AhciS3GetEumeratePorts (
     }\r
   }\r
 \r
-  if (S3InitDevices == NULL) {\r
-    return 0;\r
-  }\r
-\r
   //\r
   // Only enumerate the ports that exist in the device list.\r
   //\r