From patchwork Thu Aug 25 15:06:57 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 599967 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:4388:0:0:0:0 with SMTP id w8csp354455mae; Thu, 25 Aug 2022 08:09:04 -0700 (PDT) X-Google-Smtp-Source: AA6agR5HdTpvjj1fV8cvsHux11Jx82KymTA82izP8asMJIpP+tcFuYsPAtIPlXpzjnyfDlcyFvwr X-Received: by 2002:a05:620a:1537:b0:6ba:be3d:d70f with SMTP id n23-20020a05620a153700b006babe3dd70fmr3347202qkk.578.1661440144030; Thu, 25 Aug 2022 08:09:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661440144; cv=none; d=google.com; s=arc-20160816; b=scrBQZne9IH5GJeb7TNoFDHpSf0HKewTyMsItMLdoBvsuAH/mc51uCs4mo0Ioz+W9S DSUFU64TDTf9Nb8lVb9xW9Z/WElKzEOm6GBHWqMCOEvoU8gLBlfPIPbMoJYUHSOFXtzn W5tgnm8bbz/QPnnhR/wNO3rM03hXjFB5E7eIYgZFTiC9fndQaUZPE9pg0jQnpObmA1eI KUwO3CxzTlOgdyr/PBKTtX1RXlMWZXFOJqegxmQBxRcw7n77DkT6uhNe5YTV6BrBUu8Z R6LGTGtcUf9JqQNVfoakcE2KLShqS7u9BNOjX2oon59YmBDB75PMuV4/ec945/PPDV5e /7rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+xZTakyk5u2TBFgliT7wIbbLXV3Gbp3ddv6mrgYQohs=; b=jN1XuAQJhE4FObWWcB6WTg0o6pjpbAb9hoqsbN+eiL/SBhc7hFHcd26M+k65ICY4nD LkgauHT9y+II+9JUS8GK4/QaYTELLiNW6MY7zVWmpqQfx+9j0p7Cfjgh6g5Q2om9LMTA g/CuGgaMQL7O41TW+LTUlIQBwqwHO86Uvr+DbCCICu/QVMICSRqvdHiDvouyr7+6ZqnW c2LA3KYkT1tpp9Vvn5P8Nhrkf43yE1vVxlezt4QaQV8HZZhKer+MASKha5Xq73idNf2n vORekGIKmsxLfpGrEuT+TVWzb0jyjPeEdCZBPCtOr7n4OUylBJ1nMV2Mus5Xjfy6cFck 2DTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZYSk01Cx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id bz26-20020a05622a1e9a00b0031f1933f10fsi9944511qtb.221.2022.08.25.08.09.03 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 25 Aug 2022 08:09:04 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZYSk01Cx; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:48874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRETf-0003ul-Ke for patch@linaro.org; Thu, 25 Aug 2022 11:09:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRERq-0003uL-1k for qemu-devel@nongnu.org; Thu, 25 Aug 2022 11:07:10 -0400 Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]:40600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oRERo-0002Ln-Bs for qemu-devel@nongnu.org; Thu, 25 Aug 2022 11:07:09 -0400 Received: by mail-wr1-x42c.google.com with SMTP id h5so24198134wru.7 for ; Thu, 25 Aug 2022 08:07:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc; bh=+xZTakyk5u2TBFgliT7wIbbLXV3Gbp3ddv6mrgYQohs=; b=ZYSk01CxiLczD40wouVLJecG1AXCSnlnXRuxq56S2aqpt0Z9D2Vai4fbTZAQjfkc4m Ikeog7nuHmb2V+ffoZZlcsFMHgEBfRqZmW9QsAoyH0WE8ANy+I4EYWKQrVgB7vr+MiZU W5VRgrMUEWxzAfZAXLmzlax0FNpM/lqoVjdvWNuNHTUbedp3EgAMCs9IKnh87Zi16/Ba x0LTjHJJlZbYD286cct//l3eYRKGUQiIqhYGdXImFGqNl3O79sOCIrM/ceCLL2gpt5+/ +nqHlMp+K4reBvPsd11KAoAX3zLVONYSwo9JkhMN4bnnI/v8LCbWHD8oSEhXg0kt7IWo fNLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc; bh=+xZTakyk5u2TBFgliT7wIbbLXV3Gbp3ddv6mrgYQohs=; b=e2ZE1/JsAnp6uwsGr//788NZnPWW1aMyzifiosM463RD2qAn2V0C1niLiJkiak3ucV dR7xKzaqFhXj1mlG9i5ojNmZOJ5LP75s7UY6DVL2cyY9uzOufaolRY7qQP8Xi9wGa1o+ wZBhf+xDRCnFyE+t4mjuUKFVyuCejwMsvtne53eVOFunYuWIoZ+EWKxASC3v34KnXnK3 bxyGcLEgdcPLyopFgvUd93mZCyyuQ7N0f2jDXPsV7aVh5E+2nImCvGq/ClRiOApqX9HU 5Xstp3ecMHOTEUb0Kqmxpu+WWZYnjTxX7QVvfikwFGr9EFakCQ0Pg3L2m50l0PeY63GG zAzA== X-Gm-Message-State: ACgBeo1HD0V6PkyYicHtBsnlek02WRZRxpKOOZPUGc2zCNOpJvNrxqcG 2xsDufFCJAByCwUcOIjsqopDIiiBXiN3cw== X-Received: by 2002:a5d:6881:0:b0:225:28cb:332f with SMTP id h1-20020a5d6881000000b0022528cb332fmr2582713wru.405.1661440026902; Thu, 25 Aug 2022 08:07:06 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id bo20-20020a056000069400b0022585f6679dsm1064638wrb.106.2022.08.25.08.07.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Aug 2022 08:07:06 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PATCH 1/7] configure: Remove unused python_version variable Date: Thu, 25 Aug 2022 16:06:57 +0100 Message-Id: <20220825150703.4074125-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220825150703.4074125-1-peter.maydell@linaro.org> References: <20220825150703.4074125-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42c.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Shellcheck correctly reports that we set python_version and never use it. This is a leftover from commit f9332757898a7: we used to use python_version purely to as part of the summary information printed at the end of a configure run, and that commit changed to printing the information from meson (which looks up the python version itself). Remove the unused variable. Signed-off-by: Peter Maydell --- configure | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure b/configure index 72ab03f11aa..efe28050234 100755 --- a/configure +++ b/configure @@ -1112,9 +1112,6 @@ if ! $python -c 'import sys; sys.exit(sys.version_info < (3,6))'; then "Use --python=/path/to/python to specify a supported Python." fi -# Preserve python version since some functionality is dependent on it -python_version=$($python -c 'import sys; print("%d.%d.%d" % (sys.version_info[0], sys.version_info[1], sys.version_info[2]))' 2>/dev/null) - # Suppress writing compiled files python="$python -B"