diff options
author | Angel Pons <th3fanbus@gmail.com> | 2021-06-28 15:40:58 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-07-01 07:36:49 +0000 |
commit | 631cd29efbcd030d8c3fe3ce3c9d98562b306007 (patch) | |
tree | 91f307036350ad149fad52414372602c06ce2fae /src/mainboard/sapphire | |
parent | 35b99c64e62fd84866dd269a3641b66646f9557f (diff) |
mb/pcengines/apuX: Refactor to avoid dead assignment
The initial value of `len` is never used. Declare and initialise all
local variables in a single statement to avoid this problem.
Change-Id: Ieb96758f4cd19d9d3f8fdc543e8ca17db06a2123
Signed-off-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55905
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Michał Żygowski <michal.zygowski@3mdeb.com>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'src/mainboard/sapphire')
0 files changed, 0 insertions, 0 deletions