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>
This commit is contained in:
Zhang Lubo 2016-04-22 16:52:29 +08:00 committed by Jiaxin Wu
parent 6b49f0e0d3
commit 6a27091004

View File

@ -589,7 +589,7 @@ IScsiCreateDriverData (
@param[in] Private The iSCSI driver data. @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. @retval Others Other errors as indicated.
**/ **/
@ -600,6 +600,8 @@ IScsiCleanDriverData (
{ {
EFI_STATUS Status; EFI_STATUS Status;
Status = EFI_SUCCESS;
if (Private->DevicePath != NULL) { if (Private->DevicePath != NULL) {
Status = gBS->UninstallProtocolInterface ( Status = gBS->UninstallProtocolInterface (
Private->ExtScsiPassThruHandle, Private->ExtScsiPassThruHandle,