Message ID | 20240516133404.251397-1-linux@treblig.org (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | edac: thunderx: remove unused struct 'error_syndrome' | expand |
On Thu, May 16, 2024 at 02:34:04PM +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" <linux@treblig.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@treblig.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; > -- Applied, thanks.
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;