Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2022 07:48:30 GMT
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 821b850a3bb7 - main - x86: Remove redundant parentheses
Message-ID:  <202208090748.2797mUkD029048@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=821b850a3bb73a78eef97ea22d1dc6ea82195b65

commit 821b850a3bb73a78eef97ea22d1dc6ea82195b65
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-08-09 07:46:50 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-08-09 07:46:50 +0000

    x86: Remove redundant parentheses
    
    Reported by:    avg
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    MFC after:      1 week
    MFC-With:       b223c1f1a0ac ("x86: Add another cpuid for Apollo Lake errata APL30")
---
 sys/x86/x86/cpu_machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/x86/x86/cpu_machdep.c b/sys/x86/x86/cpu_machdep.c
index cf3365acbc92..759d9e8c6c95 100644
--- a/sys/x86/x86/cpu_machdep.c
+++ b/sys/x86/x86/cpu_machdep.c
@@ -828,7 +828,7 @@ cpu_idle_tun(void *unused __unused)
 	}
 
 	if (cpu_vendor_id == CPU_VENDOR_INTEL &&
-	    ((cpu_id == 0x506c9) || cpu_id == 0x506ca)) {
+	    (cpu_id == 0x506c9 || cpu_id == 0x506ca)) {
 		/*
 		 * Apollo Lake errata APL31 (public errata APL30).
 		 * Stores to the armed address range may not trigger



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202208090748.2797mUkD029048>