diff options
author | Hao Wu <hao.a.wu@intel.com> | 2017-12-04 13:19:28 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-12-06 08:47:52 +0800 |
commit | 856808065a88360ea2902cd22ff65fe63b24b938 (patch) | |
tree | 3ea0f58a7af452bd5b1341424e72fe54c656ec4b | |
parent | a921228818b588b21fb26c26b2b72d066d251fe5 (diff) | |
download | edk2-856808065a88360ea2902cd22ff65fe63b24b938.zip edk2-856808065a88360ea2902cd22ff65fe63b24b938.tar.gz edk2-856808065a88360ea2902cd22ff65fe63b24b938.tar.bz2 |
MdeModulePkg/PartitionDxe: Remove unnecessary parentheses in 'if'
This commit removes unnecessary parentheses in 'if' statements to
resolve the build failures by the XCODE5 tool chain.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Eric Dong <eric.dong@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c index 603abfe..bb9d0b7 100644 --- a/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c +++ b/MdeModulePkg/Universal/Disk/PartitionDxe/Partition.c @@ -1212,7 +1212,7 @@ PartitionInstallChildHandle ( //
CopyMem (&Private->PartitionInfo, PartitionInfo, sizeof (EFI_PARTITION_INFO_PROTOCOL));
- if ((PartitionInfo->System == 1)) {
+ if (PartitionInfo->System == 1) {
Private->EspGuid = &gEfiPartTypeSystemPartGuid;
} else {
//
|