summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c
index 01a3a8ddf1..41001fa2b2 100644
--- a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c
+++ b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c
@@ -245,7 +245,7 @@ PartitionDriverBindingStart (
BlockIo,
ParentDevicePath
);
- if (!EFI_ERROR (Status) || Status == EFI_MEDIA_CHANGED || Status == EFI_DEVICE_ERROR) {
+ if (!EFI_ERROR (Status) || Status == EFI_MEDIA_CHANGED) {
break;
}
Routine++;