mirror of https://github.com/acidanthera/audk.git
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:
parent
6a27091004
commit
6d0bab0e41
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue