Skip to content

Commit 0e097f2

Browse files
yghannambp3tk0v
authored andcommitted
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]
1 parent a8bc416 commit 0e097f2

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)