summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <linux@treblig.org>2024-05-16 14:34:04 +0100
committerBorislav Petkov (AMD) <bp@alien8.de>2024-05-27 14:42:04 +0200
commit9aa31612d992506b60be68aebf2a4e130eb6b783 (patch)
tree6e1fe7d49bb14cb1248190a89e977b9d75b1223b
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0 (diff)
EDAC/thunderx: Remove unused struct error_syndrome
struct error_syndrome appears never to have been used. Remove it, together with the MAX_SYNDROME_REGS it used. Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org> Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de> Link: https://lore.kernel.org/r/20240516133404.251397-1-linux@treblig.org
-rw-r--r--drivers/edac/thunderx_edac.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/edac/thunderx_edac.c b/drivers/edac/thunderx_edac.c
index fab9891e569a..75c04dfc3962 100644
--- a/drivers/edac/thunderx_edac.c
+++ b/drivers/edac/thunderx_edac.c
@@ -35,12 +35,6 @@ enum {
ERR_UNKNOWN = 3,
};
-#define MAX_SYNDROME_REGS 4
-
-struct error_syndrome {
- u64 reg[MAX_SYNDROME_REGS];
-};
-
struct error_descr {
int type;
u64 mask;