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>
This commit is contained in:
Zhang Lubo 2016-04-22 16:54:50 +08:00 committed by Jiaxin Wu
parent 6a27091004
commit 6d0bab0e41
1 changed files with 3 additions and 1 deletions

View File

@ -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,