remove unused definitions for pm
authorsunghan <sh924.chang@samsung.com>
Thu, 10 Aug 2017 09:20:30 +0000 (18:20 +0900)
committersunghan <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

index bea0e34..26ecbf3 100644 (file)
@@ -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