summaryrefslogtreecommitdiff
path: root/board/kevin
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-12-08 10:35:23 -0700
committerchrome-bot <chrome-bot@chromium.org>2016-12-26 10:55:08 -0800
commitb19bb1f22a3fd0102030485d324c0321a18827e8 (patch)
tree887f3a625f267c5585dad8c383b393cfe0aa81ab /board/kevin
parent0474fd10cc2113df9fb7757463d50751ca66ce88 (diff)
downloadchrome-ec-b19bb1f22a3fd0102030485d324c0321a18827e8.tar.gz
stm32: Remove useless code from usb_power.c
The function usb_power_map_error() is only called from a single location, with a fixed value passed in, and the return value, which is the only reason for the function, is ignored. The whole thing is useless, so remove the function and call. Since the sizes of all platforms are unchanged before and after removing this, I suspect it was getting optimized out anyway. Fixes coverity warning 157563: Useless call BUG=None BRANCH=None TEST=build tested only. Change-Id: Ie6572d2f5579819f06a53a567e1a93aabca217db Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/418070 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board/kevin')
0 files changed, 0 insertions, 0 deletions