From 941cf1d192bce282c21188e9e350d25db085665d Mon Sep 17 00:00:00 2001 From: fftmp Date: Fri, 20 Dec 2024 22:30:01 +0400 Subject: [PATCH] remove excessive check to silence compiler warning --- DcpmPkg/cli/NvmDimmCli.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DcpmPkg/cli/NvmDimmCli.c b/DcpmPkg/cli/NvmDimmCli.c index 423151ec..8fef2da0 100644 --- a/DcpmPkg/cli/NvmDimmCli.c +++ b/DcpmPkg/cli/NvmDimmCli.c @@ -1027,8 +1027,7 @@ EFI_STATUS showHelp(struct Command *pCmd) else { // if Printer is not setup then may need to do special handling for ESX if ((pPrinterCtx == NULL) && - (pCmd != NULL) && - (pCmd->options != NULL)) { + (pCmd != NULL)) { for (Index = 0; Index < MAX_OPTIONS; Index++) { if ((StrICmp(pCmd->options[Index].OptionName, OUTPUT_OPTION) == 0) ||