commit | 61b46a2dd75b7d4d56f6e7a6982da48fb1f27e4f | [log] [tgz] |
---|---|---|
author | Paul Menzel <pmenzel@molgen.mpg.de> | Sat Feb 08 17:24:29 2020 +0100 |
committer | Michał Żygowski <michal.zygowski@3mdeb.com> | Thu Feb 13 08:36:34 2020 +0000 |
tree | 7126ed6a61a9f38d2d487d798c54776e0b4759a0 | |
parent | a71071c96bd76c0021d702eb174e94e6d902ea66 [diff] |
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>
diff --git a/src/mainboard/pcengines/apu2/mainboard.c b/src/mainboard/pcengines/apu2/mainboard.c index 9bf58a7..bd2ca39 100644 --- a/src/mainboard/pcengines/apu2/mainboard.c +++ b/src/mainboard/pcengines/apu2/mainboard.c
@@ -192,7 +192,7 @@ unsigned long *current) { struct smbios_type17 *t; - int len = 0; + int len; t = (struct smbios_type17 *)*current; memset(t, 0, sizeof(struct smbios_type17));