Skip to contentSkip to conversation

edac: thunderx: remove unused struct 'error_syndrome'

PATCH Applied [email protected] 2 participants 2 messages May 16, 2024 – May 27, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 edac: thunderx: remove unused struct 'error_syndrome'

From: "Dr. David Alan Gilbert" <[email protected]>

'error_syndrome' appears never to have been used. Remove it, together with the MAX_SYNDROME_REGS it used.

---
 drivers/edac/thunderx_edac.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/edac/thunderx_edac.c +0 -6
index fab9891e569a..75c04dfc3962 100644
@@ -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;
Signature · 1 line
2.45.0
maintainer Applied
#1 lore raw
Quoted 18 lines · On Thu, May 16, 2024 at 02:34:04PM +0100, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

'error_syndrome' appears never to have been used. Remove it, together with the MAX_SYNDROME_REGS it used.

---
 drivers/edac/thunderx_edac.c | 6 ------
 1 file changed, 6 deletions(-)
drivers/edac/thunderx_edac.c +0 -0
index fab9891e569a..75c04dfc3962 100644
@@ -35,12 +35,6 @@ enum {
 	ERR_UNKNOWN	= 3,
 };

drivers/edac/thunderx_edac.c enum { · line 40

Quoted 10 lines
drivers/edac/thunderx_edac.c +0 -6
 
-#define MAX_SYNDROME_REGS 4
-
-struct error_syndrome {
-	u64 reg[MAX_SYNDROME_REGS];
-};
-
 struct error_descr {
 	int	type;
 	u64	mask;

Applied, thanks.

Signature · 4 lines
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette