[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240516133404.251397-1-linux@treblig.org>
Date: Thu, 16 May 2024 14:34:04 +0100
From: linux@...blig.org
To: rric@...nel.org,
bp@...en8.de,
james.morse@....com
Cc: linux-edac@...r.kernel.org,
linux-kernel@...r.kernel.org,
"Dr. David Alan Gilbert" <linux@...blig.org>
Subject: [PATCH] edac: thunderx: remove unused struct 'error_syndrome'
From: "Dr. David Alan Gilbert" <linux@...blig.org>
'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@...blig.org>
---
drivers/edac/thunderx_edac.c | 6 ------
1 file changed, 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;
--
2.45.0
Powered by blists - more mailing lists