From nobody Mon Feb 9 09:33: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+109219+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+109219+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1696024764; cv=none; d=zohomail.com; s=zohoarc; b=L/GOU2lqLLQRscHxKf7DDTu3r2KHbicAxwddKaulMpGz+QCkvW6oefeqZL3B1maWtzipDANo/7eIemX7WA/cLB+1mQyNCH4SDxBaqVUpvc3RgMEZko3ScTzsLLizU7itjWr2DO8FQG140x1Ji7D6h748wGHO77fm95/ExygelYM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1696024764; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To; bh=whVgHho+nv1LdSTIPSeAs80wpqitsuz1Fo20t+GSUT4=; b=QVTReaaszHyCW5sOx0EzXEz0IQHxWF/djxVLWuY5Ne5FMa3KVtLQxM+AtHvLMIPsfFzTk+3cgSmrkp95pK/nSm+nSGJoVCAYttZEje7WKULl+4gwR3cCHKI+qVBgfIRjuNG7dQ/hSW+SH56QgBZckvnDqqfUanG5UvsO/ScEsT0= 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+109219+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 1696024764939331.20333524642206; Fri, 29 Sep 2023 14:59:24 -0700 (PDT) Return-Path: DKIM-Signature: a=rsa-sha256; bh=+ORURSf0ZTawdtB/TFug2BH5b5VUp0AZCwLdh4/I8FI=; 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=1696024764; v=1; b=WJY0OG41T7AKaEAXoYsgA1vHJZ10Znt85CLmN7ZTG8eG1zkmqz37thsZd3YaM5l2Zo61KGX9 OJnYnj9IKni5auQ40LgsfSdIHhUHiYzTOwoFcsZOkvuN//Pos6hIB+AbIEIBpbHh38bnPjLffBX KpJJTfoldVlfeMXapZZwnEmM= X-Received: by 127.0.0.2 with SMTP id 4n1KYY1788612xbyoKBfKBld; Fri, 29 Sep 2023 14:59:24 -0700 X-Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) by mx.groups.io with SMTP id smtpd.web11.30208.1696024763886428038 for ; Fri, 29 Sep 2023 14:59:24 -0700 X-Received: by mail-lj1-f171.google.com with SMTP id 38308e7fff4ca-2c186ea81c7so63003141fa.1 for ; Fri, 29 Sep 2023 14:59:23 -0700 (PDT) X-Gm-Message-State: wZceujLjivMdr6FWL4ZG0H2ax1787277AA= X-Google-Smtp-Source: AGHT+IGGKL12jK8ve2MtnqLbxPhCIedx74qsAtOzPZgL9+Y+GKrQ0x6mnyzsrLz9Y3r4gYImhujz1A== X-Received: by 2002:a05:651c:c6:b0:2bc:b0ae:a9e5 with SMTP id 6-20020a05651c00c600b002bcb0aea9e5mr5031472ljr.42.1696024761777; Fri, 29 Sep 2023 14:59:21 -0700 (PDT) X-Received: from localhost.localdomain ([185.9.78.108]) by smtp.gmail.com with ESMTPSA id y24-20020a2ebb98000000b002bfe8537f37sm890178lje.33.2023.09.29.14.59.21 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 29 Sep 2023 14:59:21 -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] [PATCH 3/9] RedfishLib: remove redudant zeroing Date: Sat, 30 Sep 2023 00:59:09 +0300 Message-Id: <20230929215915.46616-4-mike.maslenkin@gmail.com> In-Reply-To: <20230929215915.46616-1-mike.maslenkin@gmail.com> References: <20230929215915.46616-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: 1696024767132100013 Content-Type: text/plain; charset="utf-8" Memory allocated by calloc() is filled with bytes of value zero. Signed-off-by: Mike Maslenkin Reviewed-by: Abner Chang --- .../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 (#109219): https://edk2.groups.io/g/devel/message/109219 Mute This Topic: https://groups.io/mt/101667462/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-