[PATCH 2/7] EDAC/device: Drop unused macro to_edacdev_attr()
From: Thomas Weißschuh
Date: Mon Feb 23 2026 - 16:17:29 EST
This macro is unused, drop it.
Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>
---
drivers/edac/edac_device_sysfs.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/edac/edac_device_sysfs.c b/drivers/edac/edac_device_sysfs.c
index fcebc4ffea26..9cc466b78982 100644
--- a/drivers/edac/edac_device_sysfs.c
+++ b/drivers/edac/edac_device_sysfs.c
@@ -21,8 +21,6 @@
#define EDAC_DEVICE_SYMLINK "device"
#define to_edacdev(k) container_of(k, struct edac_device_ctl_info, kobj)
-#define to_edacdev_attr(a) container_of(a, struct edacdev_attribute, attr)
-
/*
* Set of edac_device_ctl_info attribute store/show functions
--
2.53.0