From nobody Tue Feb 10 14:32:44 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1626255734; cv=none; d=zohomail.com; s=zohoarc; b=Y56ZPI+gjHTEjiJ0NlFRzDI5m5pjLN+z9hsmZLh0ZC7YaiPTe6ZBVDDQDiZ0bwjcTgiDrt0XEWdlOLQrXzILhhZzFogXmH/N7NHDseNMY7oe3pYBCSYFuWsjSwDBZJgHorDoHrHMIPN2VEzFsvO036hUdJYSPp/VJNidpvAa+jg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1626255734; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=1YFfcNF4LkvFeRrj0McNGwJ95momCe8V6bBvEw7Hvfw=; b=USzV8xfynYO4bz/k3PseWz8tcXeyoTD5483ur2EhxxEcd9TkJkBosdtZefJxCjmYNUPwOmh/45W+zIGASvjq7jQnihTSDfYoatdzenh7tPH5HgwtCTUcsCiTeyIiV70vCzs2QOTNhVd8SXXTRJMatYiz/DhJ7KfIMZIpqg48cJk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1626255734339404.82156657733253; Wed, 14 Jul 2021 02:42:14 -0700 (PDT) Received: from localhost ([::1]:59438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m3bPB-000253-6T for importer@patchew.org; Wed, 14 Jul 2021 05:42:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m3bK0-0001wM-HU for qemu-devel@nongnu.org; Wed, 14 Jul 2021 05:36:52 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:55005) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m3bJz-0004IJ-3H for qemu-devel@nongnu.org; Wed, 14 Jul 2021 05:36:52 -0400 Received: by mail-wm1-x334.google.com with SMTP id k32so1152399wms.4 for ; Wed, 14 Jul 2021 02:36:47 -0700 (PDT) Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id e8sm1991825wrq.10.2021.07.14.02.36.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Jul 2021 02:36:43 -0700 (PDT) Received: from zen.lan (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 498BE1FF90; Wed, 14 Jul 2021 10:36:39 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1YFfcNF4LkvFeRrj0McNGwJ95momCe8V6bBvEw7Hvfw=; b=xYkxTyvnCvdi1YnORgUQT/fvH3qmuj93dPc8DkXCT/c+/2pjVpaIoP3Gz2GMhf9eLm cYQXIsWudS5+OXvtkNOHCezFZPCMK9TRF/+W3vhuHvEXR5Mq0uVQsbtxalL4PiR8ul1i qMn4lqFgtyH5QS7lo4fxBtpwvK0tf7MwYmzK/HmLC41HD/9axAr9bIUCcmM+VEb6DFGf LULvgJpdxnMk89CjIHiIkwb1CywFEoRA0gLtKQNuqRIHu985N8S6sW8qCPNniiovBbzu YJLTNC+ARkdGEM8i8WpL7S8evr/Lo8mw3MOfdrY7tXGo1wvIYpu6pDSPXGQiFEkDwe2Y /n7g== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=1YFfcNF4LkvFeRrj0McNGwJ95momCe8V6bBvEw7Hvfw=; b=ikfIMUw6oxpk01BzboQKmelB6nup7AcnkVqVFmyztZhfELOGfSFTstHpRKQQXMNhpX NBFXAAhQvIGnx2ZU8guNCAkALIqMOWjtB+Pl53K0nXB8nwzheKbbdUIfVWBsAWx513Aj 4zh+IDnA5RRMpuPqFELWg7B+TVZ4Lba9PW9QizdNHJ3jp6Rv/Xx9ccJiAz4ahU3+DXpC K86TJGCOv2eIP6YFzZ5Dpwis+Tu19vki/r4ssorrrnYv+6KIq3KATBUOjwkbO/sIIMC7 bo3kRw/ckB7rF/01cCjs2oSXlV/WuK14A0SbP+mvVH9fcdn2hDzFz+JvK07KJAr6XD6v 6LRg== X-Gm-Message-State: AOAM533rQ1fg+mrR6P+A4OCRgIAtUUJetaMTHJWYcyK+AqDa2Ak5ErCj AapkKW+kYF7kUPgTLTMb0dRHYA== X-Google-Smtp-Source: ABdhPJwnaayqn8XaSFTShS/Gh4BEQ2QkV226xYuDBoc8WowIC3Ft97Qb17xSwyGRTW6PVOo1A6c7bA== X-Received: by 2002:a7b:c108:: with SMTP id w8mr10204188wmi.99.1626255406504; Wed, 14 Jul 2021 02:36:46 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org Subject: [PATCH v1 04/21] configure: remove needless if leg Date: Wed, 14 Jul 2021 10:36:21 +0100 Message-Id: <20210714093638.21077-5-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210714093638.21077-1-alex.bennee@linaro.org> References: <20210714093638.21077-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x334.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Alex=20Benn=C3=A9e?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1626255735181100002 It was pointed out in review of the previous patch that the if leg isn't needed as the for loop will not enter on an empty $device_archs. Fixes: d1d5e9eefd ("configure: allow the selection of alternate config in t= he build") Signed-off-by: Alex Benn=C3=A9e --- configure | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/configure b/configure index 4d0a2bfdd8..013f327f4a 100755 --- a/configure +++ b/configure @@ -5083,12 +5083,10 @@ if test "$skip_meson" =3D no; then echo "[properties]" >> $cross =20 # unroll any custom device configs - if test -n "$device_archs"; then - for a in $device_archs; do - eval "c=3D\$devices_${a}" - echo "${a}-softmmu =3D '$c'" >> $cross - done - fi + for a in $device_archs; do + eval "c=3D\$devices_${a}" + echo "${a}-softmmu =3D '$c'" >> $cross + done =20 test -z "$cxx" && echo "link_language =3D 'c'" >> $cross echo "[built-in options]" >> $cross --=20 2.20.1