pass: Remove the unneeded debug log 48/113948/3
authorChanwoo Choi <cw00.choi@samsung.com>
Thu, 9 Feb 2017 10:23:45 +0000 (19:23 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 10 Feb 2017 01:51:15 +0000 (10:51 +0900)
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 <cw00.choi@samsung.com>
src/pass/pass.c

index 6ebb7300a1f9527e4f4411f6ca6d9ef8020a6ec2..4bd2cccc039ab7947de602ef59e3cbda29667776 100644 (file)
@@ -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++)