diff options
author | Unsung Lee <unsung.lee@samsung.com> | 2024-07-03 18:02:09 +0900 |
---|---|---|
committer | Unsung Lee <unsung.lee@samsung.com> | 2024-07-04 14:08:01 +0900 |
commit | 2c1c2b29ba050178b0b023b9921d7f881de528f1 (patch) | |
tree | 9dcf729088a82365588fa1345789344bee601e2b | |
parent | 1e0ab6ac0c9f1eb559bb2027933a16384ad05deb (diff) | |
download | resourced-2c1c2b29ba050178b0b023b9921d7f881de528f1.tar.gz resourced-2c1c2b29ba050178b0b023b9921d7f881de528f1.tar.bz2 resourced-2c1c2b29ba050178b0b023b9921d7f881de528f1.zip |
cpu-sched: Get return value from the non-void functionaccepted/tizen/unified/x/20240710.012906accepted/tizen/unified/dev/20240710.032407accepted/tizen/unified/20240709.165118
Get return value from non-void function to check error.
Change-Id: Idbd8382449368fb5e87f986f1c72345c715c8dcb
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
-rw-r--r-- | src/resource-optimizer/cpu/cpu-sched.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resource-optimizer/cpu/cpu-sched.c b/src/resource-optimizer/cpu/cpu-sched.c index 968fd89d..7ff1b521 100644 --- a/src/resource-optimizer/cpu/cpu-sched.c +++ b/src/resource-optimizer/cpu/cpu-sched.c @@ -328,8 +328,7 @@ static int load_cpu_sched_config(void) static int cpu_sched_parse_config(struct cpu_sched *data) { load_cpu_affinity_config(data); - load_cpu_sched_config(); - return RESOURCED_ERROR_NONE; + return load_cpu_sched_config(); } static int cpu_sched_write_coreset(struct cpuset_info *set) |