[rtems commit] smp02: Resolve unused method warnings.
Jennifer Averett
jennifer at rtems.org
Tue Nov 25 20:47:05 UTC 2014
Module: rtems
Branch: master
Commit: 441dc1c1ada5b25e6cdc792bad3ac0d69eef4db5
Changeset: http://git.rtems.org/rtems/commit/?id=441dc1c1ada5b25e6cdc792bad3ac0d69eef4db5
Author: Jennifer Averett <jennifer.averett at oarcorp.com>
Date: Wed Oct 22 13:47:25 2014 -0500
smp02: Resolve unused method warnings.
---
testsuites/smptests/smp02/tasks.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/testsuites/smptests/smp02/tasks.c b/testsuites/smptests/smp02/tasks.c
index 26ca851..22caf77 100644
--- a/testsuites/smptests/smp02/tasks.c
+++ b/testsuites/smptests/smp02/tasks.c
@@ -13,13 +13,7 @@
#include "system.h"
-void Loop(void) {
- volatile int i;
-
- for (i=0; i<300000; i++);
-}
-
-void LogSemaphore(
+static void LogSemaphore(
bool obtained,
uint32_t cpu_num,
uint32_t task_index
More information about the vc
mailing list