git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9539
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
Configuration = AllocateZeroPool (sizeof (DRIVER_SAMPLE_CONFIGURATION));\r
ASSERT (Configuration != NULL);\r
- Status = HiiGetBrowserData (&mFormSetGuid, VariableName, sizeof (DRIVER_SAMPLE_CONFIGURATION), (UINT8 *) Configuration);\r
- if (!EFI_ERROR (Status)) {\r
+ if (HiiGetBrowserData (&mFormSetGuid, VariableName, sizeof (DRIVER_SAMPLE_CONFIGURATION), (UINT8 *) Configuration)) {\r
Configuration->DynamicOneof = 2;\r
\r
//\r