summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUnsung Lee <unsung.lee@samsung.com>2024-07-03 18:02:09 +0900
committerUnsung Lee <unsung.lee@samsung.com>2024-07-04 14:08:01 +0900
commit2c1c2b29ba050178b0b023b9921d7f881de528f1 (patch)
tree9dcf729088a82365588fa1345789344bee601e2b
parent1e0ab6ac0c9f1eb559bb2027933a16384ad05deb (diff)
downloadresourced-2c1c2b29ba050178b0b023b9921d7f881de528f1.tar.gz
resourced-2c1c2b29ba050178b0b023b9921d7f881de528f1.tar.bz2
resourced-2c1c2b29ba050178b0b023b9921d7f881de528f1.zip
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.c3
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)