]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeMoudlePkg/CapsulePei: Fix coding style issue
authorZhichao Gao <zhichao.gao@intel.com>
Mon, 10 Jun 2019 01:38:18 +0000 (09:38 +0800)
committerHao A Wu <hao.a.wu@intel.com>
Mon, 24 Jun 2019 01:18:32 +0000 (09:18 +0800)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1853

Remove API specifier AreCapsulesStaged and GetScatterGatherHeadEntries
because they are internal used.
Add space between function name and bracket.

Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Michael Turner <Michael.Turner@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Leif Lindholm <leif.lindholm@linaro.org>
Signed-off-by: Zhichao gao <zhichao.gao@intel.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Universal/CapsulePei/UefiCapsule.c

index 7c8c7a0f451ec2b193b1f8fd5867e448480ed132..b224e200fe182032d6e031613d953f6f8ffca2c9 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Capsule update PEIM for UEFI2.0\r
 \r
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
 Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
 \r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
@@ -800,8 +800,7 @@ BuildMemoryResourceDescriptor (
 \r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
-AreCapsulesStaged(\r
+AreCapsulesStaged (\r
   OUT BOOLEAN     *UpdateCapsules\r
   )\r
 {\r
@@ -865,8 +864,7 @@ AreCapsulesStaged(
 \r
 **/\r
 EFI_STATUS\r
-EFIAPI\r
-GetScatterGatherHeadEntries(\r
+GetScatterGatherHeadEntries (\r
   OUT UINTN *ListLength,\r
   OUT EFI_PHYSICAL_ADDRESS **HeadList\r
   )\r