mb/pcengines/apu2: Remove unnecessary initialization

The variable is never read before being assigned a value at the end of
the function.

Change-Id: I3b42dcd564480005b2c520316933940d87b6e418
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38785
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
This commit is contained in:
Paul Menzel 2020-02-08 17:24:29 +01:00 committed by Michał Żygowski
parent a71071c96b
commit 61b46a2dd7
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ static int mainboard_smbios_type17(DMI_INFO *agesa_dmi, int *handle,
unsigned long *current) unsigned long *current)
{ {
struct smbios_type17 *t; struct smbios_type17 *t;
int len = 0; int len;
t = (struct smbios_type17 *)*current; t = (struct smbios_type17 *)*current;
memset(t, 0, sizeof(struct smbios_type17)); memset(t, 0, sizeof(struct smbios_type17));