Skip to content

Commit f1481c2

Browse files
committed
hwmon: (k10temp) Remove unused HAVE_TDIE() macro
JIRA: https://issues.redhat.com/browse/RHEL-104300 commit 0e097f2 Author: Yazen Ghannam <yazen.ghannam@amd.com> Date: Thu Jun 6 11:13:00 2024 -0500 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@amd.com> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Acked-by: Guenter Roeck <linux@roeck-us.net> Link: https://lore.kernel.org/r/20240606-fix-smn-bad-read-v4-7-ffde21931c3f@amd.com Signed-off-by: David Arcari <darcari@redhat.com>
1 parent 20d0ac8 commit f1481c2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/hwmon/k10temp.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ struct k10temp_data {
101101
#define TCCD_BIT(x) ((x) + 2)
102102

103103
#define HAVE_TEMP(d, channel) ((d)->show_temp & BIT(channel))
104-
#define HAVE_TDIE(d) HAVE_TEMP(d, TDIE_BIT)
105104

106105
struct tctl_offset {
107106
u8 model;

0 commit comments

Comments
 (0)