regulator: build warning in regulator_lock_supply()

From: Frank Rowand
Date: Mon Nov 09 2015 - 22:22:35 EST


In the current Linus tree, new build warning.

When CONFIG_DEBUG_LOCK_ALLOC is not enabled,

drivers/regulator/core.c: In function 'regulator_lock_supply':
drivers/regulator/core.c:142:6: warning: unused variable 'i' [-Wunused-variable]


Introduced by commit

9f01cd4a915e1 ("regulator: core: introduce function to lock regulators and its supplies")
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/