diff options
author | Lee Jones <[email protected]> | 2020-06-25 17:36:08 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-06-25 20:11:12 +0100 |
commit | d3cc3dfcc20e72d537550dbeebbe4a8faa7c2606 (patch) | |
tree | 18c6f44fc1fb83dbc2178cca4a0968155b334f84 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | da6690767cbd344998f36081815c85f3d467e78c (diff) |
regulator: dbx500-prcmu: Remove unused function dbx500_regulator_testcase()
There isn't any code present within the current kernel to
override this 'weak' function. Besides returning '0', which
is never checked anyway, the whole function appears to be
superfluous.
Consequently fixes W=1 warning:
drivers/regulator/dbx500-prcmu.c:113:27: warning: no previous prototype for ‘dbx500_regulator_testcase’ [-Wmissing-prototypes]
113 | int __attribute__((weak)) dbx500_regulator_testcase(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions