There was fall-through in the switch statement with other statements and
it decreases readability and maintainability so it was removed.
This patch will fix a SVACE issue with WGID=226809
Change-Id: I23a438cd5b56ad2e4d35767d3b2e5bb1168b811c
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);