diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2016-04-22 16:52:29 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-04-22 16:57:54 +0800 |
commit | 6a270910040db6cd312a7f0c515b8609fb872bab (patch) | |
tree | 0992571b8eae9cc3e266cd541f3629ee3833e0b4 /MdeModulePkg/Universal/Network | |
parent | 6b49f0e0d36e926042d91d2c78066b3d529c739f (diff) | |
download | edk2-platforms-6a270910040db6cd312a7f0c515b8609fb872bab.tar.xz |
MdeModulePkg: Fix GCC code build error of iSCSI driver.
Fix GCC build error when refine the codes of iSCSI driver.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Zhang Lubo <lubo.zhang@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/Network')
-rw-r--r-- | MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c index bb48d8c238..ae202c3fe2 100644 --- a/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c +++ b/MdeModulePkg/Universal/Network/IScsiDxe/IScsiMisc.c @@ -589,7 +589,7 @@ IScsiCreateDriverData ( @param[in] Private The iSCSI driver data.
- @retval EFI_SUCCES The clean operation is successful.
+ @retval EFI_SUCCESS The clean operation is successful.
@retval Others Other errors as indicated.
**/
@@ -600,6 +600,8 @@ IScsiCleanDriverData ( {
EFI_STATUS Status;
+ Status = EFI_SUCCESS;
+
if (Private->DevicePath != NULL) {
Status = gBS->UninstallProtocolInterface (
Private->ExtScsiPassThruHandle,
|