From c43c3b8fb39a3cc96f0cea9ca30e3e39ec696490 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Thomas=20Wei=C3=9Fschuh?= Date: Mon, 23 Feb 2026 22:16:29 +0100 Subject: [PATCH] EDAC/device: Drop unused macro to_edacdev_attr() MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This macro is unused, drop it. Signed-off-by: Thomas Weißschuh Signed-off-by: Borislav Petkov (AMD) Link: https://patch.msgid.link/20260223-sysfs-const-edac-v1-2-3ff0b87249e7@weissschuh.net --- 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 fcebc4ffea26d..9cc466b78982e 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.47.3