summaryrefslogtreecommitdiff
path: root/drivers/edac/edac_device.h
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2024-02-13 12:20:46 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-03-27 18:26:57 +0100
commit3667a35a50f4fde8400ab988340a6f84aaebda7b (patch)
tree643398eec3c4899a264077a2c1b514017398b7b4 /drivers/edac/edac_device.h
parentf5ca0d515675f20f0d7ab7c27aef7aa4f62e4c03 (diff)
EDAC/device: Remove edac_dev_sysfs_block_attribute::{block,value}
They're unused. And they were never used since their addition in fd309a9d8e63 ("drivers/edac: fix leaf sysfs attribute") Drop it. Found by https://github.com/jirislaby/clang-struct. Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240213112051.27715-3-jirislaby@kernel.org Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Diffstat (limited to 'drivers/edac/edac_device.h')
-rw-r--r--drivers/edac/edac_device.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/edac/edac_device.h b/drivers/edac/edac_device.h
index 7db22a4c83ef..c4704b5b1e9f 100644
--- a/drivers/edac/edac_device.h
+++ b/drivers/edac/edac_device.h
@@ -99,18 +99,12 @@ struct edac_dev_sysfs_attribute {
* can have an array of the following. The show and store functions
* will be filled in with the show/store function in the
* low level driver.
- *
- * The 'value' field will be the actual value field used for
- * counting
*/
struct edac_dev_sysfs_block_attribute {
struct attribute attr;
ssize_t (*show)(struct kobject *, struct attribute *, char *);
ssize_t (*store)(struct kobject *, struct attribute *,
const char *, size_t);
- struct edac_device_block *block;
-
- unsigned int value;
};
/* device block control structure */