diff options
author | Craig Hesling <hesling@chromium.org> | 2019-04-16 15:16:02 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-09-17 21:15:36 +0000 |
commit | 8740217844e7a02207b2aa6a035ad7ade499d653 (patch) | |
tree | 769b1b053a31baf5bc629bee1ba52315ae279de3 /common/rollback.c | |
parent | 20643276cf1ac73191283db09937a0507350c7ff (diff) | |
download | chrome-ec-8740217844e7a02207b2aa6a035ad7ade499d653.tar.gz |
rollback: Remove unnecessary shadow variable
BRANCH=none
BUG=none
TEST=make buildall -j
TEST=make BOARD=nocturne_fp
ssh dut1 mount -oremount,rw /
scp build/nocturne_fp/ec.bin dut1:~/
# CCD Cr50 Console
wp disable
# Back to host
ssh dut1 flash_fp_mcu '~/ec.bin'
ssh dut1 touch /opt/google/biod/fw/.disable_fp_updater
ssh dut1 rm -rf '/var/log/*'
ssh dut1 reboot
# FPMCU UART Console
> version
> rollback
Change-Id: If88fda706198184abfc47188eec31f7817c986da
Signed-off-by: Craig Hesling <hesling@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1808066
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Diffstat (limited to 'common/rollback.c')
-rw-r--r-- | common/rollback.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/common/rollback.c b/common/rollback.c index ef3bb09cd2..0c2c41c738 100644 --- a/common/rollback.c +++ b/common/rollback.c @@ -507,8 +507,6 @@ static int command_rollback_info(int argc, char **argv) ccprintf("RW rollback version: %d\n", rw_rollback_version); for (region = 0; region < ROLLBACK_REGIONS; region++) { - struct rollback_data data; - ret = read_rollback(region, &data); if (ret) goto failed; |