diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-13 08:46:31 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-01-13 08:46:31 +0000 |
commit | c92e277d99335fa827994e410a3dc0830904a264 (patch) | |
tree | 67a5fba32dbd73d284523d82621d5f77a593f76c /MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c | |
parent | 55a64ae0f40421a26dee619dbc3f1e8096081a97 (diff) | |
download | edk2-platforms-c92e277d99335fa827994e410a3dc0830904a264.tar.xz |
Minor refinement for USB modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7257 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c')
-rw-r--r-- | MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c index d1424e2f75..4de18d4bb9 100644 --- a/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c +++ b/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/UsbMassCbi.c @@ -146,13 +146,13 @@ UsbCbiInit ( if (Context != NULL) {
*Context = UsbCbi;
} else {
- gBS->FreePool (UsbCbi);
+ FreePool (UsbCbi);
}
return EFI_SUCCESS;
ON_ERROR:
- gBS->FreePool (UsbCbi);
+ FreePool (UsbCbi);
return Status;
}
@@ -605,6 +605,6 @@ UsbCbiCleanUp ( IN VOID *Context
)
{
- gBS->FreePool (Context);
+ FreePool (Context);
return EFI_SUCCESS;
}
|