summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kinney <michael.d.kinney@intel.com>2016-10-26 20:12:24 -0700
committerMichael Kinney <michael.d.kinney@intel.com>2016-10-27 21:32:46 -0700
commita6f5a5b51f0f4e6915f1ac2b799574fd4591c440 (patch)
treea92872bc2aedf92184362998e0d7e99184aeaa33
parent4d4b81697cdb998067e93ee51b4f26dc8f86afe3 (diff)
downloadedk2-a6f5a5b51f0f4e6915f1ac2b799574fd4591c440.tar.gz
edk2-a6f5a5b51f0f4e6915f1ac2b799574fd4591c440.tar.bz2
edk2-a6f5a5b51f0f4e6915f1ac2b799574fd4591c440.zip
QuarkSocPkg/Library: Remove extra UefiBaseType.h includes
Based on Laszlo Ersek work to add ASSERT_RETURN_ERORR(): https://lists.01.org/pipermail/edk2-devel/2016-October/003132.html Laszlo also discovered libraries of type BASE that include UefiBaseType.h that should not include that file: https://lists.01.org/pipermail/edk2-devel/2016-October/003308.html This change removes the extra #include of <Uefi/UefiBaseType.h> from QNCSmmLib.c. Cc: Kelly Steele <kelly.steele@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r--QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c b/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c
index 075d45fa7f..5f2722a956 100644
--- a/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c
+++ b/QuarkSocPkg/QuarkNorthCluster/Library/QNCSmmLib/QNCSmmLib.c
@@ -1,7 +1,7 @@
/** @file
QNC Smm Library Services that implements SMM Region access, S/W SMI generation and detection.
-Copyright (c) 2013-2015 Intel Corporation.
+Copyright (c) 2013-2016 Intel Corporation.
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
@@ -19,7 +19,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/IoLib.h>
-#include <Uefi/UefiBaseType.h>
#include <Library/QNCAccessLib.h>
#define BOOT_SERVICE_SOFTWARE_SMI_DATA 0