From nobody Tue Feb 10 00:57:39 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) client-ip=66.175.222.108; envelope-from=bounce+27952+110148+1787277+3901457@groups.io; helo=mail02.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110148+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1698364442; cv=none; d=zohomail.com; s=zohoarc; b=LA/pBwugbWant+ySACffYw4qxGWkPoGDTmpkNKVbUZR7Vu4YcisDcxcOHhcczzmE+BfhEJPsJ1hHoGiWyObXyOVW8U3yKKrFXErdNeib5XtoIQjXvNni12b1IeL0i+j6ncLX7cbPIvoNSdRJSxWr+CR9AXtD6AmHYnJo51+GjQw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1698364442; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Sender:Subject:Subject:To:To:Message-Id; bh=G1W3qAliZnJPEINbXOeC0StOPDptchAMxyv8sccRq+U=; b=ZQj+00rqyz2SABIESVmlcIctUDKaxXNiQap/mNMKRM3i1Tocm6SvfaK54LnURM3obJLQlG24FlRmz4mvdoK7HtVeIHlLPn2ILBslNDpLhUOvH7RTaicJJNNAV9xTn79/hu3zU68VIvoEVBXmIKDddNzpSfEC/sYNkl5tTcvyyMI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce+27952+110148+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1698364442587577.4567119756126; Thu, 26 Oct 2023 16:54:02 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=hZDKMb7ZnAGcY560LAHEXgK3mnJ9wq2/j4IRyZxX9Gc=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698364442; v=1; b=Hs0Z+oZYZnMl8Ok6X64Gr1yxjNRDlvlXX5G5+6F4FYDf/TgYlRKNEt2rTnWo126nWF2vrcaa ZT9g0CR8BOATAz52Uc7FANihS9CsANvtQ0L82QzfRsKFZ7mtLTc/vIAJnBcafdsoh/Zr3UiQSI9 OabqLfDb4GryVz95RcpgoPXc= X-Received: by 127.0.0.2 with SMTP id VoveYY1788612x5QfBU4WAfS; Thu, 26 Oct 2023 16:54:02 -0700 X-Received: from mail-lf1-f44.google.com (mail-lf1-f44.google.com [209.85.167.44]) by mx.groups.io with SMTP id smtpd.web10.215563.1698364441403687584 for ; Thu, 26 Oct 2023 16:54:01 -0700 X-Received: by mail-lf1-f44.google.com with SMTP id 2adb3069b0e04-507b96095abso2173091e87.3 for ; Thu, 26 Oct 2023 16:54:01 -0700 (PDT) X-Gm-Message-State: NXZZtZMq63ghWRfUsngg6lGux1787277AA= X-Google-Smtp-Source: AGHT+IEOEgU9IiDlZld6gSsevaZOvI64Oan/QHV49HSNC6B2qbBJsmUB85/eTtRXzzSZE6YRvNOlbA== X-Received: by 2002:a05:6512:2396:b0:503:343a:829f with SMTP id c22-20020a056512239600b00503343a829fmr842602lfv.23.1698364439433; Thu, 26 Oct 2023 16:53:59 -0700 (PDT) X-Received: from localhost.localdomain ([79.164.221.98]) by smtp.gmail.com with ESMTPSA id u8-20020a056512040800b00507a8789b43sm39389lfk.269.2023.10.26.16.53.58 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 26 Oct 2023 16:53:59 -0700 (PDT) From: "Mike Maslenkin" To: devel@edk2.groups.io Cc: abner.chang@amd.com, nicklew@nvidia.com, igork@ami.com, Mike Maslenkin Subject: [edk2-devel] [edk2-redfish-client][PATCH v2 03/11] RedfishLib: remove redudant zeroing Date: Fri, 27 Oct 2023 02:53:46 +0300 Message-Id: <20231026235354.67625-4-mike.maslenkin@gmail.com> In-Reply-To: <20231026235354.67625-1-mike.maslenkin@gmail.com> References: <20231026235354.67625-1-mike.maslenkin@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,mike.maslenkin@gmail.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @groups.io) X-ZM-MESSAGEID: 1698364443651100014 Content-Type: text/plain; charset="utf-8" Memory allocated by calloc() is filled with bytes of value zero. Signed-off-by: Mike Maslenkin --- .../PrivateLibrary/RedfishLib/edk2libredfish/src/service.c | 1 - 1 file changed, 1 deletion(-) diff --git a/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/= service.c b/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/s= ervice.c index a38bdfbea65f..0ffc23725d37 100644 --- a/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service= .c +++ b/RedfishClientPkg/PrivateLibrary/RedfishLib/edk2libredfish/src/service= .c @@ -1773,7 +1773,6 @@ createServiceEnumeratorNoAuth ( char *HostStart; =20 ret =3D (redfishService *)calloc (1, sizeof (redfishService)); - ZeroMem (ret, sizeof (redfishService)); if (initRest (ret, restProtocol) !=3D 0) { free (ret); return NULL; --=20 2.32.0 (Apple Git-132) -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110148): https://edk2.groups.io/g/devel/message/110148 Mute This Topic: https://groups.io/mt/102211772/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-