Your ROOT_URL in app.ini is https://src.whiteboxsystems.nl/ but you are visiting http://src.whiteboxsystems.nl/Whitebox/u-boot/commit/c8ac6449797951414cec471e759e7bb0c46f490f You should set ROOT_URL correctly, otherwise the web may not work correctly.

power_i2c.c: Fix unused variable warning

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: 505cf4750a ("power: change from meaningless value to error number")
Signed-off-by: Tom Rini <trini@konsulko.com>
master
Tom Rini 8 years ago
parent 5b30997fd2
commit c8ac644979
  1. 1
      drivers/power/power_i2c.c

@ -19,7 +19,6 @@
int pmic_reg_write(struct pmic *p, u32 reg, u32 val)
{
unsigned char buf[4] = { 0 };
int ret;
if (check_reg(p, reg))
return -EINVAL;

Loading…
Cancel
Save