mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hwmon: abituguru: Remove unused ABITUGURU_TEMP_NAMES_LENGTH macro
@ 2024-09-03  2:50 Ba Jing
  2024-09-20 12:10 ` Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Ba Jing @ 2024-09-03  2:50 UTC (permalink / raw)
  To: hdegoede; +Cc: jdelvare, linux, linux-hwmon, linux-kernel, Ba Jing

The macro ABITUGURU_TEMP_NAMES_LENGTH is never referenced in the code. Remove it.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
---
 drivers/hwmon/abituguru.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/hwmon/abituguru.c b/drivers/hwmon/abituguru.c
index 93653ea05430..58072af4676b 100644
--- a/drivers/hwmon/abituguru.c
+++ b/drivers/hwmon/abituguru.c
@@ -95,11 +95,6 @@
  * in??_{min,max}_alarm_enable\0, in??_beep\0, in??_shutdown\0
  */
 #define ABITUGURU_IN_NAMES_LENGTH	(11 + 2 * 9 + 2 * 15 + 2 * 22 + 10 + 14)
-/*
- * sum of strlen of: temp??_input\0, temp??_max\0, temp??_crit\0,
- * temp??_alarm\0, temp??_alarm_enable\0, temp??_beep\0, temp??_shutdown\0
- */
-#define ABITUGURU_TEMP_NAMES_LENGTH	(13 + 11 + 12 + 13 + 20 + 12 + 16)
 /*
  * sum of strlen of: fan?_input\0, fan?_min\0, fan?_alarm\0,
  * fan?_alarm_enable\0, fan?_beep\0, fan?_shutdown\0
-- 
2.33.0




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-20 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-03  2:50 [PATCH] hwmon: abituguru: Remove unused ABITUGURU_TEMP_NAMES_LENGTH macro Ba Jing
2024-09-20 12:10 ` Hans de Goede
2024-09-20 13:27   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®