From: Chanwoo Choi Date: Thu, 9 Feb 2017 10:23:45 +0000 (+0900) Subject: pass: Remove the unneeded debug log X-Git-Tag: submit/tizen/20170328.004502~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09a972e4adb255207b166c541c70c523fc34a041;p=platform%2Fcore%2Fsystem%2Fpass.git pass: Remove the unneeded debug log This patch removes the uneeded debug log because this log is used for only CPU resource. If there is error, pass_get_hotplug() function will print the error message. Change-Id: I3109398a2a6ffe33f348838200082cd0a26a6321 Signed-off-by: Chanwoo Choi --- diff --git a/src/pass/pass.c b/src/pass/pass.c index 6ebb730..4bd2ccc 100644 --- a/src/pass/pass.c +++ b/src/pass/pass.c @@ -185,9 +185,7 @@ static int pass_resource_init(struct pass_policy *policy) /* Get the instance of PASS hotplulg */ policy->hotplug = pass_get_hotplug(policy, policy->gov_type); - if (!policy->hotplug) { - _E("cannot get the instance of PASS hotplug"); - } else { + if (policy->hotplug) { policy->hotplug->sequence = calloc(policy->freq.num_nr_cpus, sizeof(int)); for (i = 0; i < policy->freq.num_nr_cpus; i++)