]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg PlatDriOverrideDxe: Remove unneeded VARIABLE_HEADER reference
authorStar Zeng <star.zeng@intel.com>
Wed, 1 Jul 2015 02:51:41 +0000 (02:51 +0000)
committerlzeng14 <lzeng14@Edk2>
Wed, 1 Jul 2015 02:51:41 +0000 (02:51 +0000)
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

MdeModulePkg/Universal/PlatformDriOverrideDxe/PlatDriOverrideLib.c

index bad8ecc35fa5dd95f53dab5335760fe0763ef289..7d880e62775165e922d106e8c94206b126c52f3d 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Implementation of the shared functions to do the platform driver vverride mapping.\r
 \r
-  Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -1004,7 +1004,6 @@ SaveOverridesMapping (
       //\r
       if ((VariableNeededSize +\r
            OneItemNeededSize +\r
-           sizeof (VARIABLE_HEADER) +\r
            StrSize (L"PlatDriOver ")\r
            ) >= MaximumVariableSize\r
           ) {\r