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

Petr Vorel pvorel@suse.cz
Thu Apr 11 16:30:21 CEST 2024


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 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
-- 
2.43.0



More information about the ltp mailing list