diff options
author | Zhang Lubo <lubo.zhang@intel.com> | 2016-04-22 16:54:50 +0800 |
---|---|---|
committer | Jiaxin Wu <jiaxin.wu@intel.com> | 2016-04-22 16:58:06 +0800 |
commit | 6d0bab0e41ded0d70fc72f583e4e69e100bb3cf4 (patch) | |
tree | 4104d373874074ebbc9f5bffa6ef38ff171504fe /NetworkPkg/IScsiDxe | |
parent | 6a270910040db6cd312a7f0c515b8609fb872bab (diff) | |
download | edk2-platforms-6d0bab0e41ded0d70fc72f583e4e69e100bb3cf4.tar.xz |
NetworkPkg: 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 'NetworkPkg/IScsiDxe')
-rw-r--r-- | NetworkPkg/IScsiDxe/IScsiMisc.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/NetworkPkg/IScsiDxe/IScsiMisc.c b/NetworkPkg/IScsiDxe/IScsiMisc.c index 24067179c9..a1f2672f37 100644 --- a/NetworkPkg/IScsiDxe/IScsiMisc.c +++ b/NetworkPkg/IScsiDxe/IScsiMisc.c @@ -859,7 +859,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.
**/
@@ -870,6 +870,8 @@ IScsiCleanDriverData ( {
EFI_STATUS Status;
+ Status = EFI_SUCCESS;
+
if (Private->DevicePath != NULL) {
Status = gBS->UninstallProtocolInterface (
Private->ExtScsiPassThruHandle,
|