public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] edac: thunderx: remove unused struct 'error_syndrome'
@ 2024-05-16 13:34 linux
  2024-05-27 12:56 ` Borislav Petkov
  0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2024-05-16 13:34 UTC (permalink / raw)
  To: rric, bp, james.morse; +Cc: linux-edac, linux-kernel, Dr. David Alan Gilbert

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;
-- 
2.45.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] edac: thunderx: remove unused struct 'error_syndrome'
  2024-05-16 13:34 [PATCH] edac: thunderx: remove unused struct 'error_syndrome' linux
@ 2024-05-27 12:56 ` Borislav Petkov
  0 siblings, 0 replies; 2+ messages in thread
From: Borislav Petkov @ 2024-05-27 12:56 UTC (permalink / raw)
  To: linux; +Cc: rric, james.morse, linux-edac, linux-kernel

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.

-- 
Regards/Gruss,
    Boris.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-27 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-16 13:34 [PATCH] edac: thunderx: remove unused struct 'error_syndrome' linux
2024-05-27 12:56 ` Borislav Petkov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox