projects
/
rtos
/
tinyara.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4676f4d
)
remove unused definitions for pm
author
sunghan
<sh924.chang@samsung.com>
Thu, 10 Aug 2017 09:20:30 +0000
(18:20 +0900)
committer
sunghan
<sh924.chang@samsung.com>
Thu, 10 Aug 2017 09:20:30 +0000
(18:20 +0900)
The pm_get_domainmetrics and pm_prune_history functions are called
only when CONFIG_PM_METRICS is enabled. So definitions for them is
not needed when config is disabled.
os/pm/pm_metrics.h
patch
|
blob
|
history
diff --git
a/os/pm/pm_metrics.h
b/os/pm/pm_metrics.h
index
bea0e34
..
26ecbf3
100644
(file)
--- a/
os/pm/pm_metrics.h
+++ b/
os/pm/pm_metrics.h
@@
-41,10
+41,6
@@
extern struct pm_global_s g_pmglobals;
void pm_get_domainmetrics(int indx, struct pm_time_in_each_s *mtrics);
void pm_prune_history(sq_queue_t *q);
-
-#else
-#define pm_get_domainmetrics(indx, mtrics)
-#define pm_prune_history(q)
#endif
#endif