lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240527125639.GDZlSDB23LuyyP8fb2@fat_crate.local>
Date: Mon, 27 May 2024 14:56:39 +0200
From: Borislav Petkov <bp@...en8.de>
To: linux@...blig.org
Cc: rric@...nel.org, james.morse@....com, linux-edac@...r.kernel.org,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] edac: thunderx: remove unused struct 'error_syndrome'

On Thu, May 16, 2024 at 02:34:04PM +0100, linux@...blig.org wrote:
> 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;
> -- 

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ