[LTP] [PATCH 27/31] sysinfo02: Remove UCLINUX

Petr Vorel
2024-04-11T14:37:46Z

testcases/kernel/syscalls/sysinfo/sysinfo02.c | 12 ------------
1 file changed, 12 deletions(-)

diff --git a/testcases/kernel/syscalls/sysinfo/sysinfo02.c b/testcases/kernel/syscalls/sysinfo/sysinfo02.c
index 7ad0e8bdc..4ce06e0a7 100644
--- a/testcases/kernel/syscalls/sysinfo/sysinfo02.c
+++ b/testcases/kernel/syscalls/sysinfo/sysinfo02.c
@@ -78,8 +78,6 @@ void cleanup();
char *TCID = "sysinfo02";
int TST_TOTAL = 1;

-#if !defined(UCLINUX)
-
int main(int ac, char **av)
{
struct sysinfo *sysinfo_buf;
@@ -115,16 +113,6 @@ int main(int ac, char **av)

}

-#else
-
-int main(void)
-{
- tst_resm(TINFO, "test is not available on uClinux");
- tst_exit();
-}
-
-#endif /* if !defined(UCLINUX) */
-
/*
* setup()
* performs one time setup