[rtems commit] smptests: Fix obsolete FIXME comments/code

Sebastian Huber sebh at rtems.org
Wed Mar 7 09:41:29 UTC 2018


Module:    rtems
Branch:    master
Commit:    ff281a6fa6dcd54b9c41d6b4de4a42bc006a805b
Changeset: http://git.rtems.org/rtems/commit/?id=ff281a6fa6dcd54b9c41d6b4de4a42bc006a805b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Wed Mar  7 10:31:10 2018 +0100

smptests: Fix obsolete FIXME comments/code

---

 testsuites/smptests/smp07/init.c | 3 +--
 testsuites/smptests/smp08/init.c | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/testsuites/smptests/smp07/init.c b/testsuites/smptests/smp07/init.c
index 1e356ed..d2e9625 100644
--- a/testsuites/smptests/smp07/init.c
+++ b/testsuites/smptests/smp07/init.c
@@ -68,8 +68,7 @@ rtems_task Test_task(
     name
   );
 
-  /* FIXME: Task deletion currently not supported */
-  (void) rtems_task_suspend( RTEMS_SELF );
+  (void) rtems_task_delete( RTEMS_SELF );
 }
 
 
diff --git a/testsuites/smptests/smp08/init.c b/testsuites/smptests/smp08/init.c
index 8500392..f167fb2 100644
--- a/testsuites/smptests/smp08/init.c
+++ b/testsuites/smptests/smp08/init.c
@@ -93,6 +93,5 @@ rtems_task Init(
     directive_failed( status, "task start" );
   }
 
-  /* FIXME: Task deletion currently not supported */
-  (void) rtems_task_suspend( RTEMS_SELF );
+  (void) rtems_task_delete( RTEMS_SELF );
 }




More information about the vc mailing list