aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYazen Ghannam <[email protected]>2024-06-06 11:13:00 -0500
committerBorislav Petkov (AMD) <[email protected]>2024-06-12 11:40:17 +0200
commit0e097f2b5928651de3b4f0100401c9e71fa73dba (patch)
tree6cc2fa5815e0c804eb2049c12b99f733ad7ed1e4
parenta8bc4165d237f4a6bddbab55d2b6592b87341f0a (diff)
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 <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Acked-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected]
-rw-r--r--drivers/hwmon/k10temp.c1
1 files changed, 0 insertions, 1 deletions
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;