diff options
author | Star Zeng <star.zeng@intel.com> | 2015-07-01 02:51:41 +0000 |
---|---|---|
committer | lzeng14 <lzeng14@Edk2> | 2015-07-01 02:51:41 +0000 |
commit | 4eebb8632aa596944b851295f32c5d78eb011ba6 (patch) | |
tree | eba06064808bcdb922d024d2b7127f335a741d46 /MdeModulePkg/Universal/PlatformDriOverrideDxe | |
parent | c413813d61a592206ba80a5a96a07e39a264475e (diff) | |
download | edk2-platforms-4eebb8632aa596944b851295f32c5d78eb011ba6.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Universal/PlatformDriOverrideDxe')
-rw-r--r-- | MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c index bad8ecc35f..7d880e6277 100644 --- a/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c +++ b/MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c @@ -1,7 +1,7 @@ /** @file
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
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
@@ -1004,7 +1004,6 @@ SaveOverridesMapping ( //
if ((VariableNeededSize +
OneItemNeededSize +
- sizeof (VARIABLE_HEADER) +
StrSize (L"PlatDriOver ")
) >= MaximumVariableSize
) {
|