[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <171822386330.10875.16252992043193047565.tip-bot2@tip-bot2>
Date: Wed, 12 Jun 2024 20:24:23 -0000
From: "tip-bot2 for Yazen Ghannam" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: Yazen Ghannam <yazen.ghannam@....com>,
"Borislav Petkov (AMD)" <bp@...en8.de>, Guenter Roeck <linux@...ck-us.net>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: x86/misc] hwmon: (k10temp) Remove unused HAVE_TDIE() macro
The following commit has been merged into the x86/misc branch of tip:
Commit-ID: 0e097f2b5928651de3b4f0100401c9e71fa73dba
Gitweb: https://git.kernel.org/tip/0e097f2b5928651de3b4f0100401c9e71fa73dba
Author: Yazen Ghannam <yazen.ghannam@....com>
AuthorDate: Thu, 06 Jun 2024 11:13:00 -05:00
Committer: Borislav Petkov (AMD) <bp@...en8.de>
CommitterDate: Wed, 12 Jun 2024 11:40:17 +02:00
hwmon: (k10temp) Remove unused HAVE_TDIE() macro
...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 <yazen.ghannam@....com>
Signed-off-by: Borislav Petkov (AMD) <bp@...en8.de>
Acked-by: Guenter Roeck <linux@...ck-us.net>
Link: https://lore.kernel.org/r/20240606-fix-smn-bad-read-v4-7-ffde21931c3f@amd.com
---
drivers/hwmon/k10temp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hwmon/k10temp.c b/drivers/hwmon/k10temp.c
index 6deb272..a2d2033 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;
Powered by blists - more mailing lists