[U-Boot] [PATCH] power_i2c.c: Fix unused variable warning

Tom Rini trini at konsulko.com
Wed Jan 11 17:28:25 CET 2017


On Wed, Jan 11, 2017 at 09:17:31AM -0500, Tom Rini wrote:

> The variable ret was added but never set as we did not make calls to
> other functions that we needed to check the return value on.
> 
> Fixes: 505cf4750ae5 ("power: change from meaningless value to error number")
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170111/ff92d3a7/attachment.sig>


More information about the U-Boot mailing list