diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2023-03-03 17:49:31 +0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-03-03 12:40:55 +0000 |
commit | 922d4781f47ac62b8868ebe5d9f0945f66b1d8dc (patch) | |
tree | 89a5316b71cb17be51c865f241830ebc092c85f5 /util | |
parent | 85238690a2596d02cc6204fd389f45b9e4f7e818 (diff) | |
download | chrome-ec-922d4781f47ac62b8868ebe5d9f0945f66b1d8dc.tar.gz |
ectool: remove unused variable
To avoid compile error.
BUG=None
BRANCH=None
TEST=Compile ectool
Change-Id: I0f7d3e0de549d84cd9517cd9cf37220c39eb05be
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4306043
Reviewed-by: Eric Yilun Lin <yllin@google.com>
Diffstat (limited to 'util')
-rw-r--r-- | util/ectool.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/util/ectool.cc b/util/ectool.cc index 7c38ad8741..24f359b126 100644 --- a/util/ectool.cc +++ b/util/ectool.cc @@ -7533,7 +7533,6 @@ int cmd_charge_current_limit(int argc, char *argv[]) struct ec_params_current_limit_v1 p1; uint32_t limit; uint8_t battery_soc; - int rv; char *e; /* |