From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Z/aQj8Gl; spf=pass (domain: gmail.com, ip: 209.85.208.51, mailfrom: adr.her.arc.95@gmail.com) Received: by mail-ed1-f51.google.com with SMTP id h10so58643689edt.13 for ; Fri, 23 Apr 2021 12:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t/EhfX0X46ri/BUObunto69koDAwkdwRoftR9iI3TLE=; b=Z/aQj8GlGb9EweLGOYFf2Sz+q9hvtl/TVkRmmbwpeb2Znckd4/xBO+AqHfZDijbiQ+ yBK0wuHN7V2uT+vJaduWteNrthNraPE+iUfbmJsMSwC1dJfEN8bocS7DXN7xNGiLBJ2Y Z9cqkQUjo1T4BeLlmkfWDoCvQnFVEaOi3Hack0xQT3uJf7j6Eke3zTTC4JjD5vKKq5kW 6dqO/bjZHuHtkaIyrvqgDwlJpYj6n7hEcN5n1PDIgnyMMPFbZLQw1jOE2i35soVN25rH GgcIyADDaD8riq6DQqLDgd2BeNf8lIooj39ifW5uKa6TTxSU8nMf/T2zPBcwGsDVB/iC TdnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t/EhfX0X46ri/BUObunto69koDAwkdwRoftR9iI3TLE=; b=ZK+XKyORRQo+7CXmKzZacMpF4E9icOgKkRquL+gOboDG+Bw2+rhpvv+Bxja0v18Drf GntAJJ85NXYNFRGE/CNe2f/hwvRuLd48/4P6g0mwiG/w6+o4rgHZBBHUJuoUv4RqQEDZ oa+nc6vjAE8Ei9a8ieWBLJ/gBOhDPBSqUFlDT4vBfZwT3+ewqTgSt7Au33+1RiiFqQk0 QZ3q4nX/1rgP7zYfgR9LkfEUq+SjLrIBgMnb4gj4PIy9u7cjOl5/PmRaQCfowK0rJhY1 USyQfnbM5BdOfe2/xviiFiBYh9oZPsK4EQsv7kjQO7cvO37j/wMSyVsN1T7yVlsS5Tdq TFIA== X-Gm-Message-State: AOAM530LON0eFzRuKzTy2XwpPDBbQ9IBEImtV+YPVRy0nRK7zKk7IlP+ dVrqDHuxtVGoVLWHGiCpMipCSUPDSBt4Qkbg 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) Return-Path: 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: [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> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 --- .../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;=0D UINTN ItsGroupCount;=0D UINTN ItsIdentifierArrayCount;=0D - UINTN RootComplexCount;=0D - UINTN DeviceIdMappingArrayCount;=0D UINTN PciConfigSpaceCount;=0D =0D if ((This =3D=3D NULL) || (CmObject =3D=3D NULL)) {=0D @@ -739,15 +737,11 @@ GetArmNameSpaceObject ( Smmuv3Count =3D 1;=0D ItsGroupCount =3D 1;=0D ItsIdentifierArrayCount =3D ARRAY_SIZE (PlatformRepo->ItsIdentifierArr= ay);=0D - RootComplexCount =3D 1;=0D - DeviceIdMappingArrayCount =3D ARRAY_SIZE (PlatformRepo->DeviceIdMappin= g);=0D PciConfigSpaceCount =3D 1;=0D } else {=0D Smmuv3Count =3D 0;=0D ItsGroupCount =3D 0;=0D ItsIdentifierArrayCount =3D 0;=0D - RootComplexCount =3D 0;=0D - DeviceIdMappingArrayCount =3D 0;=0D PciConfigSpaceCount =3D 0;=0D }=0D =0D --=20 2.30.0