summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg
diff options
context:
space:
mode:
authorOlivier Martin <olivier.martin@arm.com>2014-09-30 00:59:04 +0000
committererictian <erictian@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-30 00:59:04 +0000
commit23a2df76783ad7694918916f28e24cd1a1f84daf (patch)
tree3c8cf0520cced453560c6dbacde4f58378e6068f /MdeModulePkg
parent831537d6ca574a6bf579a4797dd66eed3548a016 (diff)
downloadedk2-23a2df76783ad7694918916f28e24cd1a1f84daf.tar.gz
edk2-23a2df76783ad7694918916f28e24cd1a1f84daf.tar.bz2
edk2-23a2df76783ad7694918916f28e24cd1a1f84daf.zip
MdeModulePkg/ScsiDiskDxe: Fix the build warning/error "unreachable statement"
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Olivier Martin <olivier.martin@arm.com> Reviewed-by: Feng Tian <feng.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16190 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg')
-rw-r--r--MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
index e5dd6b9c4d..b9ee43bb34 100644
--- a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
+++ b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
@@ -1572,7 +1572,6 @@ CheckTargetStatus (
case EFI_EXT_SCSI_STATUS_TARGET_RESERVATION_CONFLICT:
return EFI_DEVICE_ERROR;
- break;
default:
return EFI_SUCCESS;