diff options
author | Jacob Garber <jgarber1@ualberta.ca> | 2019-05-24 16:48:26 -0600 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-05-28 21:11:14 -0700 |
commit | 0d73e46eb36455652eafcf7583f4dd8112472b92 (patch) | |
tree | 2831f1b2a1d509edddd6cce4c8bf0ef51c65206a /include/console.h | |
parent | 79cbf4df7fc9dbe80a4b88f93e83dcc323e3ed70 (diff) | |
download | chrome-ec-0d73e46eb36455652eafcf7583f4dd8112472b92.tar.gz |
driver/tcpm: Tidy tcpci_tcpm_transmit
- Remove hardcoded message header size
- Check the return value of tcpc_write_block
- Merge unnecessary assignment
BUG=none
BRANCH=none
TEST=none
Change-Id: Ic4db769f6f9d62ffb4eb10621b15dc414c0bab26
Signed-off-by: Jacob Garber <jgarber1@ualberta.ca>
Found-by: Coverity CID 187542
Reviewed-on: https://chromium-review.googlesource.com/1629275
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'include/console.h')
0 files changed, 0 insertions, 0 deletions