From: Michael Kinney Date: Thu, 27 Oct 2016 03:12:24 +0000 (-0700) Subject: QuarkSocPkg/Library: Remove extra UefiBaseType.h includes X-Git-Tag: edk2-stable201903~5424 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=a6f5a5b51f0f4e6915f1ac2b799574fd4591c440;hp=4d4b81697cdb998067e93ee51b4f26dc8f86afe3 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 from QNCSmmLib.c. Cc: Kelly Steele Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney Reviewed-by: Liming Gao --- 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 #include #include -#include #include #define BOOT_SERVICE_SOFTWARE_SMI_DATA 0