diff options
author | Rashika Kheria <rashika.kheria@gmail.com> | 2013-12-19 14:11:10 +0530 |
---|---|---|
committer | Philipp Zabel <p.zabel@pengutronix.de> | 2014-02-03 10:19:40 +0100 |
commit | 0c5b2b915a5863643b4534dabd028d4bb34c3b27 (patch) | |
tree | 237118b6bcdd1ccd3255faa950ec6a04594cf4df /tools/perf/builtin-mem.c | |
parent | 3d10302048ab672d1e8993b8a5b50d9e35881853 (diff) |
reset: Mark function as static and remove unused function in core.c
Mark function of_reset_simple_xlate() as static in core.c
because it is not used outside this file.
Also, remove functions devm_reset_control_put() and
devm_reset_control_match() because they are unused.
This eliminates the following warnings in core.c:
drivers/reset/core.c:46:5: warning: no previous prototype for ‘of_reset_simple_xlate’ [-Wmissing-prototypes]
drivers/reset/core.c:262:6: warning: no previous prototype for ‘devm_reset_control_put’ [-Wmissing-prototypes]
Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/perf/builtin-mem.c')
0 files changed, 0 insertions, 0 deletions