Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp85712lqb; Thu, 23 May 2024 11:28:10 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU5O9ld1SB5vmOozDkoOl88lNa+qyL/BKptnfmTZo2JjAsh7EH5bTtOnGr06CJmGZHARXIegKsu1WEIXsvt9UnTsq2+lqwaMY4aFmdpiw== X-Google-Smtp-Source: AGHT+IHw+rn4LNYvI2ZcmRjwhUAVlWamG0lhoRu0csXTreZZ4wzvv4pUCkOj2GvU9+xosRYtn2tM X-Received: by 2002:a05:622a:2d6:b0:439:b6d0:6859 with SMTP id d75a77b69052e-43f9e0f991dmr68365191cf.39.1716488890500; Thu, 23 May 2024 11:28:10 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43e0fcd154asi273245161cf.480.2024.05.23.11.28.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 11:28:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-187874-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@amd.com header.s=selector1 header.b=Vn5EbSLO; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-187874-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-187874-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DD0D11C21684 for ; Thu, 23 May 2024 18:28:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E287328B6; Thu, 23 May 2024 18:27:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amd.com header.i=@amd.com header.b="Vn5EbSLO" Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2078.outbound.protection.outlook.com [40.107.223.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6ADB583A06; Thu, 23 May 2024 18:27:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.223.78 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716488839; cv=fail; b=QH+dyKyGQlvAXQxgL/PACplGwTQwugoA2MWgSyRwLaYkN9egC9Xe+e51560GvGUiho/ZGNwMTucvzMpMcu2fOJgT16gT16Pr8+Rj4fhk1E11mDOCUqVTw8r8P7Q5BgtULXu2U0GAriw+AOmwnQ+cTomJI89E4BJ4zqppf+KuNA8= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716488839; c=relaxed/simple; bh=OiKP1+GNYSbg1+OE5L0dnBHK6al0w4Wqt/Oqdqnncso=; h=From:Date:Subject:MIME-Version:Content-Type:Message-ID:References: In-Reply-To:To:CC; b=i1haJ1Apxg43qHPn5wetTrw8xJaHl4jADVLyV8X6hwIrySnCNWlcmZX+cHCbvGVytg8of/bbzv7w1cvGBzf9CpPb3IYy0iFzy2n0x+Hgcy22nKDVZV06f3l/TrIURM7KN9DP+zzSN84564tzEPyJCfT7W5GOKP/3vKr2jPJJlRA= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com; spf=fail smtp.mailfrom=amd.com; dkim=pass (1024-bit key) header.d=amd.com header.i=@amd.com header.b=Vn5EbSLO; arc=fail smtp.client-ip=40.107.223.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=amd.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MVDpAj+NptLVDss+qy4RcPjliy6eAYWy9DLRY1KpG4yiJfyB5YyaZO1d3w3JKAW1kd5AQLmQeSkLYvrcZEgNt6oZbdlDW47elZFrsPRCYM9YhUyLvyYe5g4F5fuELKpa/KTyFbqYtCXN8cCZ0S/W/rxZ2qpBQPRLBPuS00fzoj0d4mso1NcKAhe0/VpQMjWtVkUAmbQqubt7aMCKTMvTkda30NTdSrB8mC5KPga0Q+MoVNMuulk/6hCS8oGGna2WKZbX7Z4xKnSUlS/oCAkwzJVr0Gk8gvh0f+ZgjvKyvIW9KJfpzM070rMM0GI5cWWMAGsL2bcFfgZkRMCMZA+aPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=1J9+2SDlidu/RlDKIHhb76jZjeYkl9ua0Ft+dX8dBC8=; b=aL2jXBUHUEiUwTAOCEXS5iijWYCMZF7G1vHWrWJ3MhzRvp63DQ826gc7BzwPnwIB1eksixyJmcSP7nQLOupIpa8jEon21oe5cz7qKrmMRdlSdv+89ozj281jFlj5Ml4JQc/cR2UWjyj59LOOy3Scxj3W9UFrGH7QxkWidsArowuFWqSTepvvqIXDd4yw+SM4UtFWXmXzR28xSIqIPQojt7wh5xjIwkidzcK6att7w29hqPJswYvBQS6zeD74cwUQbEwRQhPBfLVXreo3qFTpxgOuekGJdw4k7+AnXtAaV7DjOEfDB6UofSaV/SkVFAV2ZusaFSjIaky+63KAp0Ol/A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=kernel.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=1J9+2SDlidu/RlDKIHhb76jZjeYkl9ua0Ft+dX8dBC8=; b=Vn5EbSLOBvFs1msWIWqu7HXNpIcYk7sbfKl2wEfQXEdDKP21jWvtwNMPlCGuQ7dulj2weSYERGvJYRlvBvjIbdBmYoF00e5AlQwSlkatCeRkNbVkqjSMRyt+vjdYBaqWYC2ssQ2zSf/2HQhcnEnJd2gWyjFtBQniKHFJsCGUExw= Received: from CH2PR19CA0025.namprd19.prod.outlook.com (2603:10b6:610:4d::35) by DM4PR12MB6231.namprd12.prod.outlook.com (2603:10b6:8:a6::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.18; Thu, 23 May 2024 18:27:16 +0000 Received: from CH3PEPF00000012.namprd21.prod.outlook.com (2603:10b6:610:4d:cafe::50) by CH2PR19CA0025.outlook.office365.com (2603:10b6:610:4d::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7611.20 via Frontend Transport; Thu, 23 May 2024 18:27:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by CH3PEPF00000012.mail.protection.outlook.com (10.167.244.117) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7633.0 via Frontend Transport; Thu, 23 May 2024 18:27:15 +0000 Received: from quartz-7b1chost.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 23 May 2024 13:27:11 -0500 From: Yazen Ghannam Date: Thu, 23 May 2024 13:26:58 -0500 Subject: [PATCH v3 7/8] hwmon: (k10temp) Remove unused HAVE_TDIE() macro Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20240523-fix-smn-bad-read-v3-7-aa44c622de39@amd.com> References: <20240523-fix-smn-bad-read-v3-0-aa44c622de39@amd.com> In-Reply-To: <20240523-fix-smn-bad-read-v3-0-aa44c622de39@amd.com> To: Guenter Roeck , , Yazen Ghannam CC: Mario Limonciello , , , X-Mailer: b4 0.13.0 X-ClientProxiedBy: SATLEXMB03.amd.com (10.181.40.144) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CH3PEPF00000012:EE_|DM4PR12MB6231:EE_ X-MS-Office365-Filtering-Correlation-Id: 0596a4e2-43a2-42b4-fc28-08dc7b55f8f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230031|82310400017|376005|1800799015|36860700004; X-Microsoft-Antispam-Message-Info: =?utf-8?B?U2xsTVBuaHVGRlE5aUlIMytlVFRuM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= =?utf-8?B?d0ZML1pKbXJKWEJVVU9lZXVaYzkvNHA5eFNCcjlIZWlzSVpoaXRwSkxtdXlw?= =?utf-8?Q?w3hU0zw3ON9SU?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230031)(82310400017)(376005)(1800799015)(36860700004);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 May 2024 18:27:15.8253 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0596a4e2-43a2-42b4-fc28-08dc7b55f8f2 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CH3PEPF00000012.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB6231 ..to address the following warning: drivers/hwmon/k10temp.c:104:9: warning: macro is not used [-Wunused-macros] No functional change is intended. Signed-off-by: Yazen Ghannam --- drivers/hwmon/k10temp.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c index 6deb272c7cef..a2d203304533 100644 --- a/drivers/hwmon/k10temp.c +++ b/drivers/hwmon/k10temp.c @@ -101,7 +101,6 @@ struct k10temp_data { #define TCCD_BIT(x) ((x) + 2) #define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel)) -#define HAVE_TDIE(d) HAVE_TEMP(d, TDIE_BIT) struct tctl_offset { u8 model; -- 2.34.1