pass: parser: Remove unnecessary log when PMQOS module is not used 73/262473/1
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 11 Aug 2021 10:57:09 +0000 (19:57 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 11 Aug 2021 11:21:11 +0000 (20:21 +0900)
If 'pmqos_property' is false, don't need to print the state of pmqos for
each h/w resource. Remove unnecessary log when PMQOS module is not used.

Change-Id: I09eed2828aa760c57e92bd1bda449e428769983f
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
src/pass/pass-parser.c

index fd7f059e5f1c120edfc2a85230757bb1b6111c13..9ff5f56946d690f52ecbf6f975f13fb2203baa0a 100644 (file)
@@ -970,11 +970,6 @@ int pass_parser_get_each_resource_config(struct pass_resource *res, char *path)
                goto out;
        }
 
-       if (pmqos->state == PASS_UNUSED)
-               _W("don't include the list of pass-scenario\n");
-       else if (pmqos->state == PASS_OFF)
-               _I("cannot use pass-scenario");
-
 out:
        json_object_put(obj);