Fix file_stressor.c:112:9: warning: unused variable 'pid_self' by dropping the unused variable. Fixes: aab154a442f9b ("selftests: add file SLAB_TYPESAFE_BY_RCU recycling stressor") Cc: Christian Brauner Signed-off-by: Guenter Roeck --- v2: Update subject and description to reflect that the patch fixes a build warning. tools/testing/selftests/filesystems/file_stressor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/testing/selftests/filesystems/file_stressor.c b/tools/testing/selftests/filesystems/file_stressor.c index 01dd89f8e52f..4f314270298d 100644 --- a/tools/testing/selftests/filesystems/file_stressor.c +++ b/tools/testing/selftests/filesystems/file_stressor.c @@ -109,8 +109,6 @@ FIXTURE_TEARDOWN(file_stressor) TEST_F_TIMEOUT(file_stressor, slab_typesafe_by_rcu, 900 * 2) { for (int i = 0; i < self->nr_procs; i++) { - pid_t pid_self; - self->pids_openers[i] = fork(); ASSERT_GE(self->pids_openers[i], 0); -- 2.45.2