summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/smp.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2023-01-24 16:53:03 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2023-01-24 16:53:03 +0100
commit48f693a97e3ab7698d3ce3a9eb8b22cb37b5104a (patch)
tree5b201eb705e71f94810e6490d9a626b689a6fb19 /cpukit/score/src/smp.c
parentbuild: Add dl11 to libdl test exclude list (diff)
downloadrtems-48f693a97e3ab7698d3ce3a9eb8b22cb37b5104a.tar.bz2
score: Remove unused return value
Several SMP message processing functions returned a value. This value was always unused. Close #4822.
Diffstat (limited to '')
-rw-r--r--cpukit/score/src/smp.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/cpukit/score/src/smp.c b/cpukit/score/src/smp.c
index 7c068f3c51..75520829e1 100644
--- a/cpukit/score/src/smp.c
+++ b/cpukit/score/src/smp.c
@@ -311,10 +311,7 @@ void _SMP_Request_shutdown( void )
}
}
-long unsigned _SMP_Process_message(
- Per_CPU_Control *cpu_self,
- long unsigned message
-)
+void _SMP_Process_message( Per_CPU_Control *cpu_self, long unsigned message )
{
if ( ( message & SMP_MESSAGE_SHUTDOWN ) != 0 ) {
ISR_Level level;
@@ -332,8 +329,6 @@ long unsigned _SMP_Process_message(
if ( ( message & SMP_MESSAGE_PERFORM_JOBS ) != 0 ) {
_Per_CPU_Perform_jobs( cpu_self );
}
-
- return message;
}
void _SMP_Try_to_process_message(