Skip to content

Commit 84ec2fe

Browse files
committed
stress-prio-inv: remove early return statement
A return statement was left in during some debugging, remove it. Fixes commit 8c8bbc7 ("stress-prio-inv: when fifo/rr fails, retry with SCHED_OTHER policy") Signed-off-by: Colin Ian King <[email protected]>
1 parent db0fa0c commit 84ec2fe

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

stress-prio-inv.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,6 @@ static void stress_prio_inv_check_policy(
286286
int *sched_policy,
287287
const char *policy_name)
288288
{
289-
return;
290-
291289
if (!stress_check_capability(SHIM_CAP_IS_ROOT)) {
292290
if (*sched_policy == policy) {
293291
if (args->instance == 0) {

0 commit comments

Comments
 (0)