From nobody Fri Mar 29 15:27:10 2024 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+74402+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+74402+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1619233054; cv=none; d=zohomail.com; s=zohoarc; b=nEFApsyzHxMmVXq6FrhVO6Hf4BTjP7w1oJMmOc5bBKnRv/79OR1X0YMRWccaM1RSnun5oK3BRoKAgb5tmGXrx8nLbRCYi+YrjSevvAtT7DbyXlHu/jK1WrEbTM38xg7+glPcKgfez1RgOzGhl3q7W4QKwP4ZxxTbJ+oLKISBB00= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1619233054; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=dml+PFoi7xIs09B7TCTVczT/DjFuVt3CdFH7MT2i+TY=; b=IZPUde+QtocGjitmpq6sps94f7UT/zrWQhO4PpQ6Qn0xHUnK4eH7zQu5XhdcWG4MqVcn2CEsJibdVoUIHgNsgf9AiyZyeNwfIRMBtSTFEmeebAkcCxza/lW2HFSZwToTwIkdn6egX7LtXqZaw0E/HaPzEywBtXnPSh3YSO61/e4= 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+74402+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by mx.zohomail.com with SMTPS id 1619233054384675.3538476031767; Fri, 23 Apr 2021 19:57:34 -0700 (PDT) Return-Path: X-Received: by 127.0.0.2 with SMTP id Wwl6YY1788612xa2hCMKBDCW; Fri, 23 Apr 2021 19:57:34 -0700 X-Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) by mx.groups.io with SMTP id smtpd.web12.1492.1619206987632498641 for ; Fri, 23 Apr 2021 12:43:07 -0700 X-Received: by mail-ed1-f51.google.com with SMTP id h10so58643689edt.13 for ; Fri, 23 Apr 2021 12:43:07 -0700 (PDT) X-Gm-Message-State: DhE2jiSWCXs0DJpI59iOueokx1787277AA= X-Google-Smtp-Source: ABdhPJyIXIyO28QzsMFK9x5JOU3dx1ciuMxdGI6IhJHrJ/aMpGAn7l7gfvYEbDcGBcWv1x3XJrel6A== X-Received: by 2002:aa7:c1c8:: with SMTP id d8mr6417537edp.236.1619206986098; Fri, 23 Apr 2021 12:43:06 -0700 (PDT) X-Received: from C02VH2K5HV2R.vc.cambridge.org (cpc91196-cmbg18-2-0-cust38.5-4.cable.virginm.net. [81.96.232.39]) by smtp.gmail.com with ESMTPSA id cd14sm4769817ejb.53.2021.04.23.12.43.05 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Apr 2021 12:43:05 -0700 (PDT) From: =?UTF-8?B?QWRyacOhbiBIZXJyZXJh?= To: devel@edk2.groups.io Cc: =?UTF-8?q?Adri=C3=A1n=20Herrera?= Subject: [edk2-devel] [PATCH] Platform/ARM/VExpressPkg: Fix unused but set Date: Fri, 23 Apr 2021 20:43:03 +0100 Message-Id: <2c5c5a650d650fddf2c3f1b435cec070da4e825f.1619206925.git.adr.her.arc.95@gmail.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: 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,adr.her.arc.95@gmail.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1619233054; bh=FJlkmep021vBbGNm1jnrB2MlODz460Fa/1BSm36xYrQ=; h=Cc:Content-Type:Date:From:Reply-To:Subject:To; b=GizN1FcaTpiwHyQ/Vyqw+A3qvv5KQQtZHsyOQUIxo6c9q8LahmbaEyYYTqRiO5Pn11M F1WcS1q3B8kgm2RTtm1PmPeptg0jmOhsphc1it8YGnTV0FqNuTAkDMSNwUbMPIVRTGB2Z eOd/FYvMubWqn6rM3Y5o1/gDykAt2oL+7m8= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" Remove unused but set variables in GetArmNameSpaceObject. These caused a build crash due to -Werror=3Dunused-but-set-variable. Signed-off-by: Adri=C3=A1n Herrera Reviewed-by: Sami Mujawar --- .../ConfigurationManagerDxe/ConfigurationManager.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationMan= agerDxe/ConfigurationManager.c b/Platform/ARM/VExpressPkg/ConfigurationMana= ger/ConfigurationManagerDxe/ConfigurationManager.c index e99fbb654f..d169cd2c5d 100644 --- a/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe= /ConfigurationManager.c +++ b/Platform/ARM/VExpressPkg/ConfigurationManager/ConfigurationManagerDxe= /ConfigurationManager.c @@ -721,8 +721,6 @@ GetArmNameSpaceObject ( UINTN Smmuv3Count; UINTN ItsGroupCount; UINTN ItsIdentifierArrayCount; - UINTN RootComplexCount; - UINTN DeviceIdMappingArrayCount; UINTN PciConfigSpaceCount; =20 if ((This =3D=3D NULL) || (CmObject =3D=3D NULL)) { @@ -739,15 +737,11 @@ GetArmNameSpaceObject ( Smmuv3Count =3D 1; ItsGroupCount =3D 1; ItsIdentifierArrayCount =3D ARRAY_SIZE (PlatformRepo->ItsIdentifierArr= ay); - RootComplexCount =3D 1; - DeviceIdMappingArrayCount =3D ARRAY_SIZE (PlatformRepo->DeviceIdMappin= g); PciConfigSpaceCount =3D 1; } else { Smmuv3Count =3D 0; ItsGroupCount =3D 0; ItsIdentifierArrayCount =3D 0; - RootComplexCount =3D 0; - DeviceIdMappingArrayCount =3D 0; PciConfigSpaceCount =3D 0; } =20 --=20 2.30.0 -=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 (#74402): https://edk2.groups.io/g/devel/message/74402 Mute This Topic: https://groups.io/mt/82327317/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-