summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-27 03:24:58 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-03-27 03:24:58 +0000
commit0b09813f57ee1d316aadf6c6edefb5db8d618573 (patch)
tree11c18c2db286b1d7bf49b2bc2f5ed70bf9ce84cd /EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk
parenteaad1319d5eb295994832b65bced3133d88f4fd3 (diff)
downloadedk2-platforms-0b09813f57ee1d316aadf6c6edefb5db8d618573.tar.xz
Retire RFC_3066_ENTRY_SIZE definition.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7966 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk')
-rw-r--r--EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c b/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c
index b8cfd5dc66..4ab74bad83 100644
--- a/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c
+++ b/EdkCompatibilityPkg/Compatibility/Uc2OnUcThunk/Uc2OnUcThunk.c
@@ -248,10 +248,8 @@ UcNotificationEvent (
//
// Fill in rest of private data structure
//
- Private->UC2.SupportedLanguages = AllocateZeroPool (RFC_3066_ENTRY_SIZE);
- Status = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages, Private->UC2.SupportedLanguages);
-
- if (!EFI_ERROR (Status)) {
+ Private->UC2.SupportedLanguages = ConvertIso639LanguageToRfc3066Language (Private->UC->SupportedLanguages);
+ if (Private->UC2.SupportedLanguages != NULL) {
//
// Install Firmware Volume Protocol onto same handle