From e11d501bd30ab9eeb77c1366b7ef44e43aa86e89 Mon Sep 17 00:00:00 2001 From: Mike Beaton Date: Sat, 6 Apr 2024 23:23:40 +0100 Subject: [PATCH] NetworkPkg/Dhcp6Dxe: Fix extraneous parentheses Without this change we get: error: equality comparison with extraneous parentheses when building with -D NETWORK_IP6_ENABLE on XCODE5. Signed-off-by: Mike Beaton --- NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c b/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c index f38e3ee3fe1a0..f72bc93a689fa 100644 --- a/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c +++ b/NetworkPkg/Dhcp6Dxe/Dhcp6Utility.c @@ -1001,7 +1001,7 @@ Dhcp6AppendETOption ( return EFI_INVALID_PARAMETER; } - if ((Elapsed == NULL)) { + if (Elapsed == NULL) { return EFI_INVALID_PARAMETER; }