diff options
author | Namyoon Woo <namyoon@chromium.org> | 2018-11-02 11:53:46 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-05 22:09:27 -0800 |
commit | 15db6d5bbc6c28a4c632eb631e6010fd106d5cc8 (patch) | |
tree | 76fe55e2e81f173ac460a20d204a7e62a11e837b /extra | |
parent | 7ba4e5f6cb3d96eb93b6aad45bb28cb2e9f06d1d (diff) | |
download | chrome-ec-15db6d5bbc6c28a4c632eb631e6010fd106d5cc8.tar.gz |
gsctool: minor code pruning.
Removed a redundant if-statement
BRANCH=none
BUG=none
TEST=gsctool -i
Board ID space: 41434245:bebcbdba:00007f7f
Change-Id: Ie6a1237fb5d1dc6085c1680dc1b37a9b127511f0
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1315629
Reviewed-by: Bob Moragues <moragues@chromium.org>
Diffstat (limited to 'extra')
-rw-r--r-- | extra/usb_updater/gsctool.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/extra/usb_updater/gsctool.c b/extra/usb_updater/gsctool.c index 87e9acc8b6..526d6ba25d 100644 --- a/extra/usb_updater/gsctool.c +++ b/extra/usb_updater/gsctool.c @@ -1817,12 +1817,11 @@ void process_bid(struct transfer_descriptor *td, ((const char *)bid)[2], ((const char *)bid)[3]); } else { - if (bid_action == bid_get) { - printf("Board ID space: %08x:%08x:%08x\n", - be32toh(bid->type), - be32toh(bid->type_inv), - be32toh(bid->flags)); - } + printf("Board ID space: %08x:%08x:%08x\n", + be32toh(bid->type), + be32toh(bid->type_inv), + be32toh(bid->flags)); + } return; |