Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5847002rwr; Mon, 24 Apr 2023 09:45:04 -0700 (PDT) X-Google-Smtp-Source: AKy350bdmTLtBX6I/q5pbaM2zBOnxiGbHUHwqael8STihCy+WkRki3sDjA7CqjDdg8q6JM8YKQK0 X-Received: by 2002:a05:6a20:7f9b:b0:da:6993:73d5 with SMTP id d27-20020a056a207f9b00b000da699373d5mr18740049pzj.47.1682354703776; Mon, 24 Apr 2023 09:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682354703; cv=none; d=google.com; s=arc-20160816; b=Aga5PG0I2A/TWE4rd7bycJg6nXwm5VT1mBWh6vfeXxONzWYknkpqa7f/em7Yzsutrg mphPw07pPaydL5X05VDrmyVzXmZN7jXYHkkdfIMO9zZbxq32RhSMkk1FC0dSiezBCqs9 qQY3uR/14//VIYHh37VFTjclv1arbAVmELcW+OlUJvKagviTsJQ9QIxZZtjRT4Nz7B66 LZqeGD4Qg4aOD419KhexUOiU5349X+qQxrjkLs+v4MOBqiqzKVorCqISaeVASBFl4pTH 5zqsw55ZvQgAK8/P/RilZ1k4oQYst1vsv5cc/9LpzwIQ16uhq3ltf2N28JAKbsWr18L1 x99g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=smNFfWYZDzCdeMK2Jp8UC6yG66GXW3bdYdCd5GyzDhc=; b=vK6edQfcHaV07kGK3OY202OSXlb5Z7u+5rhkyHA8omAfEfrkYjW/nsZddqnjgY5/Kw gu1qy3lwoR1krqvovEm3oMka/MN13iSNYh3zICsJ+ktAo/fxSj4xbMVREtdJ0NCdrM6I +0qK1hKMgxono3/J5SDeBkxNDUIRrbx5poPvemBIaXuM7goenRVC7dR9UZiP/M//NTOz koPFww2XLLGMo754nOkXW1hnHrF7t3O/rPRKXP3jhrtHLKbP9qSVudwoJQt+rylb/CRy PX6wfXTcf6FV4fQEhHRAeP/H3bmd/MZVeloCGzgBBQxi6Hir7ucRywdkMGb9tABTiStt WTaw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@pku.edu.cn header.s=dkim header.b=gbhP58M9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pku.edu.cn Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q126-20020a634384000000b0050bc150235dsi11616608pga.104.2023.04.24.09.44.49; Mon, 24 Apr 2023 09:45:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@pku.edu.cn header.s=dkim header.b=gbhP58M9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=pku.edu.cn Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231967AbjDXQkc (ORCPT + 99 others); Mon, 24 Apr 2023 12:40:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231580AbjDXQka (ORCPT ); Mon, 24 Apr 2023 12:40:30 -0400 X-Greylist: delayed 953 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 24 Apr 2023 09:40:21 PDT Received: from zg8tndyumtaxlji0oc4xnzya.icoremail.net (zg8tndyumtaxlji0oc4xnzya.icoremail.net [46.101.248.176]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id AFD5876BB; Mon, 24 Apr 2023 09:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pku.edu.cn; s=dkim; h=Received:From:To:Cc:Subject:Date: Message-Id:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=smNFfWYZDzCdeMK2Jp8UC6yG66GXW3bdYd Cd5GyzDhc=; b=gbhP58M97zPzv/37DsaIKaQ0fORdRWpNhTVkU0XfWDJ4vWgjth wHhGpwviy8whL4i3U/BennGlb9xW+dK5EjhTlxW4XiGpa2mOqraMk1Epx06R924j ZETpdL6doCImayur9yXwJuL04C5GdspwiDvqeOdZQPytoaENLuNFRfZyc= Received: from localhost.localdomain (unknown [10.7.101.92]) by front01 (Coremail) with SMTP id 5oFpogD3fz59rEZkQRscAA--.27563S2; Tue, 25 Apr 2023 00:21:22 +0800 (CST) From: Ruihan Li To: torvalds@linux-foundation.org, masahiroy@kernel.org Cc: arnd@arndb.de, bp@alien8.de, dave.hansen@linux.intel.com, devel@acpica.org, lenb@kernel.org, linux-acpi@vger.kernel.org, linux-ia64@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev, mingo@redhat.com, nathan@kernel.org, ndesaulniers@google.com, ojeda@kernel.org, rafael@kernel.org, robert.moore@intel.com, terrelln@fb.com, tglx@linutronix.de, trix@redhat.com, x86@kernel.org, Ruihan Li Subject: [PATCH] scripts: Remove ICC-related dead code Date: Tue, 25 Apr 2023 00:21:10 +0800 Message-Id: <20230424162110.11082-1-lrh2000@pku.edu.cn> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20221016182349.49308-1-masahiroy@kernel.org> References: <20221016182349.49308-1-masahiroy@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: 5oFpogD3fz59rEZkQRscAA--.27563S2 X-Coremail-Antispam: 1UD129KBjvJXoWrtFy7Kry8WF1rXF4kZrW5ZFb_yoW8JF1Upa yjk34qgr1kZr4S9r1xAw10qF1rAan7t3yx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G X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Intel compiler support has already been completely removed in commit 95207db8166a ("Remove Intel compiler support"). However, it appears that there is still some ICC-related code in scripts/cc-version.sh. There is no harm in leaving the code as it is, but removing the dead code makes the codebase a bit cleaner. Hopefully all ICC-related stuff in the build scripts will be removed after this commit, given the grep output as below: (linux/scripts) $ grep -i -w -R 'icc' cc-version.sh:ICC) cc-version.sh: min_version=$($min_tool_version icc) dtc/include-prefixes/arm64/qcom/sm6350.dtsi:#include Fixes: 95207db8166a ("Remove Intel compiler support") Signed-off-by: Ruihan Li --- scripts/cc-version.sh | 4 ---- 1 file changed, 4 deletions(-) diff --git a/scripts/cc-version.sh b/scripts/cc-version.sh index 0573c92e8..a7e28b6a5 100755 --- a/scripts/cc-version.sh +++ b/scripts/cc-version.sh @@ -45,10 +45,6 @@ Clang) version=$2.$3.$4 min_version=$($min_tool_version llvm) ;; -ICC) - version=$(($2 / 100)).$(($2 % 100)).$3 - min_version=$($min_tool_version icc) - ;; *) echo "$orig_args: unknown C compiler" >&2 exit 1 -- 2.40.0