From patchwork Thu Sep 22 16:35:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 608233 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp472602pvb; Thu, 22 Sep 2022 10:25:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7fZKItF2vMwxKDi7muiOaZ4WxuerUDBrSRrXeFKdf5tiWs0vr/OoJSYwvTYwF9NaxXaMkR X-Received: by 2002:a05:622a:8f:b0:35c:f532:3305 with SMTP id o15-20020a05622a008f00b0035cf5323305mr3904417qtw.180.1663867501946; Thu, 22 Sep 2022 10:25:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663867501; cv=none; d=google.com; s=arc-20160816; b=CYIuXMMsU0djvDlRY7kaJY2m9/Zx0SoviHRDzYfySA0/FakFmiG4FCBzbUOQb5Dngb bH1TW2T0anue+T1nZPosV5808uYI6KjkOJOOcFC8Tim/YdNlhWLvZcJMCNv1iXvcfpIk hhR36BGLZP+B1HNiHaGts18wzfSeCFBle3RYGutzuPM2LPBRhqa2BwWFu+83gup7M5Zv GDnzPW4h/vu5pQRZuOzBIA4e0/OnamodajVOdLDKAIO3BmBVZlTKy+UhUxjmDuCUCr9x ohZHv+g3N23ZEFUT0z9eRnvoLRlvjCq5OmLjtW14HmxbH+VQ2FF2XFO+YqZf5FzqXLOl VKsw== 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=fRuzNdVxdAJZ2ReB6Zxl4KaSdRZlenZ74jhT7D/lFHc=; b=jNevT9vWz2AW8DROwV8VhbyWgL4CVRmbKY418/rCnETGqynfHj7uL4hKKLcbVR0UmT T/SMz/e77LrCgVogyHKXIVm7dzXhefQDc3uGxcc6XoDnsah8Cs7nLh6AuYd25easjp0v i29HGvTAeo861fv1HRtPpOUC0k2SPn1JV8Tgqi4jdjm+Wksg2TofyJPlReMIq7OID0cx 8uhZpaiUE6A+6fFc/Qai7+DcqRoIq+2eLfFwGajNapXBE1z3Mny67ZzhP9rchsx1uHRN WxQeUbdUiecq1AfrMBkCYjH52jfh9U6OnKlPWNMLvXbi49uGXXl04hYvHZoNaMBS2S0+ up9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=t11A2SKE; 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 g12-20020a0cdf0c000000b004aab5978795si2666595qvl.271.2022.09.22.10.25.01 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Sep 2022 10:25:01 -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=t11A2SKE; 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]:48056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1obPwb-00053E-GB for patch@linaro.org; Thu, 22 Sep 2022 13:25:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1obPBK-0002G3-H3 for qemu-devel@nongnu.org; Thu, 22 Sep 2022 12:36:14 -0400 Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:35328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1obPBB-0005T1-Uk for qemu-devel@nongnu.org; Thu, 22 Sep 2022 12:36:09 -0400 Received: by mail-wr1-x436.google.com with SMTP id r7so16472060wrm.2 for ; Thu, 22 Sep 2022 09:36:00 -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:subject:date; bh=fRuzNdVxdAJZ2ReB6Zxl4KaSdRZlenZ74jhT7D/lFHc=; b=t11A2SKE4HFIm1qec5RSAY7xAvyKl9il+QXZQeH0OB5d1Q24Yc9oKOSF/VSmf1eFUC aggiPhRILWbjpzGkuAjSrdI8x6icF7smKCPT32UuRiXwp8P4/nK5aKfubA4zlmqzaBMq 07UjKev09+KC+vE0Sa/gXmxH3KHU+22rEOH+QUXePDt64aIoAZPSFTHBoE22WbR09Q85 u/cdsGiMYlN4IPGUnhlGukHnaTkQXWL/49z8jwZ658phrCgkWSWont1x9DUbn8xCXxiF WBDGimWbAA4V0ZAts5fn16TjRogIttAvDY70Ps/jIPThhPwg1ruOGwqxZSWM/Vs3hPx3 v3UA== 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 :subject:date; bh=fRuzNdVxdAJZ2ReB6Zxl4KaSdRZlenZ74jhT7D/lFHc=; b=DOBp29yoAw5s7cYhT3ZymP0XlTpCECYeFDDuyLvUxdx9FL4KVX8zmRM9L7rLRwFNX/ X6yeVMYlrz1GWZB38vIHc97OeUl+D3pgbGmWrzk7yVR+fM7jOJhJEjclBXBEJNP5ILOg wQl17FNe7ooNSjnyrMz4vvj5ulcMoQBQTaRtMHZGKGxZXT1dQHhy6d5wT6EBuaPUeGK3 Kjh//SnuwWflz/A1WPCRZYDlj4BFw2r9h81WVMOz9hmlIK1i7U3SwQS8i/s8nQ8s4HOF dc7qSmHk3vHOrSd71wuVzGBxqIBtjxJrYz0yDP5eCUQ+imyr/k+Hdc3yCB9DHLg4yzym HqxQ== X-Gm-Message-State: ACrzQf2KmsY7Pbe+Ciy5+F8cv7qB8Qb79vBbyn4liMOgJswCEAfoFeYN m73dxJUhnb8g7kJdecvzA/rsgfJfck+qkA== X-Received: by 2002:a05:6000:1d84:b0:224:f447:b1a7 with SMTP id bk4-20020a0560001d8400b00224f447b1a7mr2544801wrb.688.1663864559477; Thu, 22 Sep 2022 09:35:59 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id iw1-20020a05600c54c100b003b3401f1e24sm6452599wmb.28.2022.09.22.09.35.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Sep 2022 09:35:59 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 33/39] configure: Remove unused python_version variable Date: Thu, 22 Sep 2022 17:35:30 +0100 Message-Id: <20220922163536.1096175-34-peter.maydell@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220922163536.1096175-1-peter.maydell@linaro.org> References: <20220922163536.1096175-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x436.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.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 Reviewed-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé Message-id: 20220825150703.4074125-2-peter.maydell@linaro.org --- configure | 3 --- 1 file changed, 3 deletions(-) diff --git a/configure b/configure index 0bbf9d28af7..b5ace4cb49e 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"