Skip to content

Commit 21f87ce

Browse files
committed
tst_test.c: Change run_tcases_per_fs() return type to void
Return code is not used any more. Link: https://lore.kernel.org/ltp/20251107102939.1111074-7-pvorel@suse.cz/ Fixes: a1f8270 ("lib/tst_test.c: Fix tst_brk() handling") Reviewed-by: Avinesh Kumar <akumar@suse.de> Signed-off-by: Petr Vorel <pvorel@suse.cz>
1 parent 25cc29a commit 21f87ce

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/tst_test.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,9 +1988,8 @@ static int run_tcase_on_fs(struct tst_fs *fs, const char *fs_type)
19881988
return ret;
19891989
}
19901990

1991-
static int run_tcases_per_fs(void)
1991+
static void run_tcases_per_fs(void)
19921992
{
1993-
int ret = 0;
19941993
unsigned int i;
19951994
bool found_valid_fs = false;
19961995
const char *const *filesystems = tst_get_supported_fs_types(tst_test->skip_filesystems);
@@ -2013,8 +2012,6 @@ static int run_tcases_per_fs(void)
20132012

20142013
if (!found_valid_fs)
20152014
tst_brk(TCONF, "No required filesystems are available");
2016-
2017-
return ret;
20182015
}
20192016

20202017
unsigned int tst_variant;

0 commit comments

Comments
 (0)