diff options
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,
|