There was fall-through in the switch statement with other statements and
it decreases readability and maintainability so it was removed.
(This commit fixes same issue of
8ffd276da7741fd124d4571cfa899cb6bd2cbe08)
Change-Id: I35692a6f397cce1197f744896c7e42bef6d32ecf
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
case CPU_SCHED_NONE:
if (attr.sched_nice == CPU_INIT_NICE)
goto skip_scheduler_update;
-
- /* else go through */
+ attr.sched_policy = SCHED_OTHER;
+ break;
case CPU_SCHED_OTHER:
attr.sched_policy = SCHED_OTHER;
/* error = sched_getattr(pid, &attr, 0);