Style and conformance changes.
1. Strip all leading space.
2. Move tst_exit() to main().
3. Remove tst_exit() from cleanup().
4. Remove cluebat comments.
5. Reduce some unnecessary whitespace.
Signed-off-by: Garrett Cooper <yanegomi@gmail.com>
diff --git a/testcases/kernel/mem/mmapstress/mmapstress05.c b/testcases/kernel/mem/mmapstress/mmapstress05.c
index 6a857e1..250cf0a 100644
--- a/testcases/kernel/mem/mmapstress/mmapstress05.c
+++ b/testcases/kernel/mem/mmapstress/mmapstress05.c
@@ -135,7 +135,7 @@
ERROR("couldn't find top of brk");
anyfail();
}
-
+
/* i changed the second argument to NULL
from argv[0]. otherwise it causes the
open to fail
@@ -205,7 +205,7 @@
(void)time(&t);
// (void)printf("%s: Finished %s", argv[0], ctime(&t)); LTP Port
ok_exit();
- return 0;
+ tst_exit();
}
void ok_exit()
@@ -215,15 +215,10 @@
tst_exit();
}
-
int anyfail()
{
tst_resm(TFAIL, "Test failed\n");
tst_rmdir();
tst_exit();
return 0;
-}
-
-
-
-
+}
\ No newline at end of file