From patchwork Fri Sep 29 09:32:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: tip-bot2 for Thomas Gleixner X-Patchwork-Id: 146471 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3898588vqu; Fri, 29 Sep 2023 02:44:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEAUjs5sbyxsEyEh+SA0xGT9TGokWFS301mqwOL6gpXZbxzRryM1I6DFkOokfpLXJRFKC9d X-Received: by 2002:aca:2407:0:b0:3ae:3d0:d74a with SMTP id n7-20020aca2407000000b003ae03d0d74amr3625305oic.52.1695980699513; Fri, 29 Sep 2023 02:44:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695980699; cv=none; d=google.com; s=arc-20160816; b=No3FHp+y6QA4+uK26i/HEE1ytUyT19OKz5v6I4FyUMFknDAGL166DD4KuWQ8wKXHd4 egI02mZYqWDXlaeOZuDNPHjTKhxJz6x6/9vFRoomzP9FDNh72M8pwS8FUC1Fjcl+D8C5 L+DAW4rI7TyHjH/41sCRK7tJLdvM7U93nCLa059R2SgvrPvw/vxti6inbOmYJzSX0c2S zSJiCNmt2D7bxZjJmHQPwYSaC0lJxO0lShNpi5grViLAKZoskSp5z2HXeOWYUhAH2VFw fMv7+edOvbn2sIgMn7091UAeqpsmGQt8gEJJLjLwIXoskhjq/OGaUlA4aLh81CV8nt2B d1Yg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:robot-unsubscribe :robot-id:message-id:mime-version:references:in-reply-to:cc:subject :to:reply-to:sender:from:dkim-signature:dkim-signature:date; bh=3/uIN1it0W3Eg412WINyJjgbanaVu7oqFOS2ToQ1k1I=; fh=BY6ZC4ij8FxLToY1R4aUJ4xvgmUdbZDriC58y1JnEps=; b=Mld4erBPkIaAx75eJ91ShxNlL0rhMohxCmDgbmh6Go2/7e7T/TtR1+UsYYIW/yZf/Z 0l1DtRegmgXAp5fGYQfRn3yscUNc1yF17K195noD5nn30smLigTbomWiE/a8WTOfgamD AihBl8qot6AFYXI0KTc3KTvRmRoK5zeGrWnkQROTFdXTYqi8GSzZY6ORtKkLGOGAIezQ HXaJl5Ad4Q0FCJFZly3QVoc1g9VeYEvam1cQHZmp1tuJEgZeu6meDX4vKxJbTkfBzVJl n/lgQidHyNJmh+/rrMfQktATJ5tIbxJFSb78gvsAR105aML+/fWwxJHVJRaUSZUtStSw c0+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=oPDlZe4E; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id u11-20020a6540cb000000b00577680ccf1bsi17712270pgp.709.2023.09.29.02.44.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:44:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=oPDlZe4E; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 20A02802EF5A; Fri, 29 Sep 2023 02:33:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232970AbjI2Jcr (ORCPT + 20 others); Fri, 29 Sep 2023 05:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232915AbjI2Jcp (ORCPT ); Fri, 29 Sep 2023 05:32:45 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D6FB195; Fri, 29 Sep 2023 02:32:43 -0700 (PDT) Date: Fri, 29 Sep 2023 09:32:41 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1695979961; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3/uIN1it0W3Eg412WINyJjgbanaVu7oqFOS2ToQ1k1I=; b=oPDlZe4EuEBJHu7RD8eXfYDqAq8Ky5aVJ4eAsVYD97sZNRueh6YGOwao7x8en3nuDXqUKU KeTw9CLhRyMCuR/GxcqzJpstPluTSTUHsamrcIUPZrqUunlU9Z/7jJ6FJxIWj0HlaPRUID tDDFhzI1iqHupi06YRMhJOv++cok1FUSJJhW1hybqNTMwagaMRVt3ds/XdClzg5rfXOIXm ER2y86QFPElwmqtHqzJkTmKlvmgNzyx9ksRbJwcHGKdov7ISQ10bW+xgdLw1L1SUQcfgRP 1mrs7ot1GtPYg3xp9T6pmEVbtNxl9JLrVfkmN+osLYKFpdTSD9AvA4ex/9kP7Q== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1695979961; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3/uIN1it0W3Eg412WINyJjgbanaVu7oqFOS2ToQ1k1I=; b=T0gwaieTwhQ1cUQJdwVlYJdqFCzQ/hiiqNyQBwRtFwFAHpn9ZzDVTl9BMmFls0QVVQ0bXS VSEHqw15nSP+UsDw== From: "tip-bot2 for Baolin Liu" Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: x86/cpu] x86/cpu/amd: Remove redundant 'break' statement Cc: Baolin Liu , Ingo Molnar , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com> References: <396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com> MIME-Version: 1.0 Message-ID: <169597996101.27769.5754143943416979953.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Fri, 29 Sep 2023 02:33:01 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778364657730839562 X-GMAIL-MSGID: 1778364657730839562 The following commit has been merged into the x86/cpu branch of tip: Commit-ID: b5034c63858d8cb44587bb1ce5a0790a1b4e4a05 Gitweb: https://git.kernel.org/tip/b5034c63858d8cb44587bb1ce5a0790a1b4e4a05 Author: Baolin Liu AuthorDate: Wed, 09 Aug 2023 16:09:11 +08:00 Committer: Ingo Molnar CommitterDate: Fri, 29 Sep 2023 11:24:09 +02:00 x86/cpu/amd: Remove redundant 'break' statement This break is after the return statement, so it is redundant & confusing, and should be deleted. Signed-off-by: Baolin Liu Signed-off-by: Ingo Molnar Link: https://lore.kernel.org/r/396ba14d.2726.189d957b74b.Coremail.liubaolin12138@163.com --- arch/x86/kernel/cpu/amd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c index 1011ce2..c3cb69e 100644 --- a/arch/x86/kernel/cpu/amd.c +++ b/arch/x86/kernel/cpu/amd.c @@ -1001,7 +1001,6 @@ static bool cpu_has_zenbleed_microcode(void) default: return false; - break; } if (boot_cpu_data.microcode < good_rev)