summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp07/task1.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-04 10:21:53 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2016-01-04 10:23:19 +0100
commit07d4e7691313fa664e916d6591a25aed4037b53f (patch)
tree9d62a93992db32863bbfeb45f9fd8c1238ff0b40 /testsuites/sptests/sp07/task1.c
parentbsp/raspberrypi: Move assignment outside if-condition (diff)
downloadrtems-07d4e7691313fa664e916d6591a25aed4037b53f.tar.bz2
sptests/sp07: Fix test case
Fix things broken by commit d5154d0f6a04f3b7ed59d9a09038576fe2640756. Update #2493.
Diffstat (limited to 'testsuites/sptests/sp07/task1.c')
-rw-r--r--testsuites/sptests/sp07/task1.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/testsuites/sptests/sp07/task1.c b/testsuites/sptests/sp07/task1.c
index c03bea24b4..25831afef6 100644
--- a/testsuites/sptests/sp07/task1.c
+++ b/testsuites/sptests/sp07/task1.c
@@ -13,11 +13,6 @@
#include "system.h"
-/*
- * We know this is deprecated and don't want a warning on every BSP built.
- */
-#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
-
rtems_task Task_1(
rtems_task_argument argument
)
@@ -25,9 +20,6 @@ rtems_task Task_1(
rtems_status_code status;
rtems_task_priority the_priority;
rtems_task_priority previous_priority;
- rtems_id my_id;
-
- my_id = rtems_task_self();
rtems_test_pause();