summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2018-09-05 09:03:32 +0800
committerStar Zeng <star.zeng@intel.com>2018-09-06 09:17:03 +0800
commit4a76d9b9a33783c9a8bd4a77df5427522292586c (patch)
tree291d47b4ebc87a24d275f9e2c9aced6b1f6dfa2c /MdeModulePkg/Library
parentfa6e2804de6a7c9b108afcba4b03714b13f4a113 (diff)
downloadedk2-4a76d9b9a33783c9a8bd4a77df5427522292586c.zip
edk2-4a76d9b9a33783c9a8bd4a77df5427522292586c.tar.gz
edk2-4a76d9b9a33783c9a8bd4a77df5427522292586c.tar.bz2
MdeModulePkg: Remove trailing white space
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1144 Cc: Dandan Bi <dandan.bi@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Jian J Wang <jian.j.wang@intel.com> Cc: Siyuan Fu <siyuan.fu@intel.com> Cc: Jiaxin Wu <jiaxin.wu@intel.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Siyuan Fu <siyuan.fu@intel.com> Reviewed-by: Dandan Bi <dandan.bi@intel.com>
Diffstat (limited to 'MdeModulePkg/Library')
-rw-r--r--MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c2
-rw-r--r--MdeModulePkg/Library/DxeNetLib/DxeNetLib.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
index 91c6849..20fd29a 100644
--- a/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
+++ b/MdeModulePkg/Library/DxeCapsuleLibFmp/DxeCapsuleLib.c
@@ -765,7 +765,7 @@ GetFmpHandleBufferByType (
MatchedHandleBuffer[MatchedNumberOfHandles] = HandleBuffer[Index];
}
if (MatchedResetRequiredBuffer != NULL) {
- MatchedResetRequiredBuffer[MatchedNumberOfHandles] = (((TempFmpImageInfo->AttributesSupported &
+ MatchedResetRequiredBuffer[MatchedNumberOfHandles] = (((TempFmpImageInfo->AttributesSupported &
IMAGE_ATTRIBUTE_RESET_REQUIRED) != 0) &&
((TempFmpImageInfo->AttributesSetting &
IMAGE_ATTRIBUTE_RESET_REQUIRED) != 0));
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
index 63f4724..9e3ea24 100644
--- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
+++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c
@@ -656,7 +656,7 @@ NetGetIpClass (
except when the originator is one of the endpoints of a point-to-point link with a 31-bit
mask (RFC3021), or a 32bit NetMask (all 0xFF) is used for special network environment (e.g.
PPP link).
-
+
@param[in] Ip The IP to check against.
@param[in] NetMask The mask of the IP.
@@ -671,7 +671,7 @@ NetIp4IsUnicast (
)
{
INTN MaskLength;
-
+
ASSERT (NetMask != 0);
if (Ip == 0 || IP4_IS_LOCAL_BROADCAST (Ip)) {