diff mbox

[edk2] MdeModulePkg/ScsiDiskDxe: Fixed unreachable statement

Message ID 0877601216922E4B83A7129715B5DA2BBE7474DF28@GEORGE.Emea.Arm.com
State New
Headers show

Commit Message

Olivier Martin Sept. 18, 2014, 7:01 p.m. UTC
Dear  MdeModulePkg maintainer,

please find the attached patch that should fix the build warning/error "unreachable statement"

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>

Regards,
Olivier

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No:  2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No:  2548782
------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk

Comments

Tian, Feng Sept. 18, 2014, 11:41 p.m. UTC | #1
Reviewed-by: Feng Tian <feng.tian@intel.com>

-----Original Message-----
From: Olivier Martin [mailto:Olivier.Martin@arm.com] 
Sent: Friday, September 19, 2014 03:02
To: Tian, Feng
Cc: edk2-devel@lists.sourceforge.net
Subject: [PATCH] MdeModulePkg/ScsiDiskDxe: Fixed unreachable statement

Dear  MdeModulePkg maintainer,

please find the attached patch that should fix the build warning/error "unreachable statement"

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>

Regards,
Olivier

-- IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No:  2557590 ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered in England & Wales, Company No:  2548782

------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
diff mbox

Patch

From 661a6ede3d2ed106ad4203854eac2feda681fd00 Mon Sep 17 00:00:00 2001
From: Olivier Martin <olivier.martin@arm.com>
Date: Thu, 18 Sep 2014 18:20:34 +0100
Subject: MdeModulePkg/ScsiDiskDxe: Fixed unreachable statement

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <olivier.martin@arm.com>
---
 MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c b/MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDisk.c
index e5dd6b9..b9ee43b 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;
-- 
1.7.5.4