Skip to content

Commit 187816d

Browse files
CmdrMoozyshuahkh
authored andcommitted
selftests: fix an unused variable warning in pidfd selftest
I fixed a few warnings like this in commit e2aa5e6 ("selftests: fixup build warnings in pidfd / clone3 tests"), but I missed this one by mistake. Since this variable is unused, remove it. Signed-off-by: Axel Rasmussen <[email protected]> Reviewed-by: Christian Brauner <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 5203562 commit 187816d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/testing/selftests/pidfd/pidfd_wait.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ TEST(wait_states)
9595
.flags = CLONE_PIDFD | CLONE_PARENT_SETTID,
9696
.exit_signal = SIGCHLD,
9797
};
98-
int ret;
9998
pid_t pid;
10099
siginfo_t info = {
101100
.si_signo = 0,

0 commit comments

Comments
 (0)