MdeModulePkg PlatDriOverrideDxe: Remove unneeded VARIABLE_HEADER reference
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17752 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c413813d61
commit
4eebb8632a
|
@ -1,7 +1,7 @@
|
||||||
/** @file
|
/** @file
|
||||||
Implementation of the shared functions to do the platform driver vverride mapping.
|
Implementation of the shared functions to do the platform driver vverride mapping.
|
||||||
|
|
||||||
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
|
@ -1004,7 +1004,6 @@ SaveOverridesMapping (
|
||||||
//
|
//
|
||||||
if ((VariableNeededSize +
|
if ((VariableNeededSize +
|
||||||
OneItemNeededSize +
|
OneItemNeededSize +
|
||||||
sizeof (VARIABLE_HEADER) +
|
|
||||||
StrSize (L"PlatDriOver ")
|
StrSize (L"PlatDriOver ")
|
||||||
) >= MaximumVariableSize
|
) >= MaximumVariableSize
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in New Issue