Re: [PATCH] edac: thunderx: remove unused struct 'error_syndrome'

From: Borislav Petkov
Date: Mon May 27 2024 - 09:00:36 EST


On Thu, May 16, 2024 at 02:34:04PM +0100, linux@xxxxxxxxxxx wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> '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@xxxxxxxxxxx>
> ---
> 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.

--
Regards/Gruss,
Boris.

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