Skip to content

Commit

Permalink
stress-prio-inv: remove early return statement
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
ColinIanKing committed Dec 20, 2024
1 parent db0fa0c commit 84ec2fe
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions stress-prio-inv.c
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,6 @@ static void stress_prio_inv_check_policy(
int *sched_policy,
const char *policy_name)
{
return;

if (!stress_check_capability(SHIM_CAP_IS_ROOT)) {
if (*sched_policy == policy) {
if (args->instance == 0) {
Expand Down

0 comments on commit 84ec2fe

Please sign in to comment.