/* Pop the Expression Dependency options from the Stack */
EFI_STATUS PopDependencyStack(IN HII_DEPENDENCY_EXPRESSION **Stack, IN OUT HII_DEPENDENCY_EXPRESSION ***StackPtr, OUT HII_DEPENDENCY_EXPRESSION **Data)
/* Pop the Expression Dependency options from the Stack */
EFI_STATUS PopDependencyStack(IN HII_DEPENDENCY_EXPRESSION **Stack, IN OUT HII_DEPENDENCY_EXPRESSION ***StackPtr, OUT HII_DEPENDENCY_EXPRESSION **Data)
{
  if (*StackPtr == Stack) {
    return EFI_ACCESS_DENIED;
  }
  *StackPtr = *StackPtr - 1;
  CopyMem (Data, *StackPtr, sizeof (HII_DEPENDENCY_EXPRESSION *));
  return EFI_SUCCESS;
}