[rtems commit] score: Remove superfluous type qualifier
Sebastian Huber
sebh at rtems.org
Mon Feb 1 06:20:12 UTC 2021
Module: rtems
Branch: master
Commit: 8d099f4ab4c2e00cdbee9a3b159bf4943acc3e75
Changeset: http://git.rtems.org/rtems/commit/?id=8d099f4ab4c2e00cdbee9a3b159bf4943acc3e75
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Thu Jan 28 14:52:03 2021 +0100
score: Remove superfluous type qualifier
This fix relates to a Coverity issue
(PW.USELESS_TYPE_QUALIFIER_ON_RETURN_TYPE).
---
cpukit/include/rtems/score/smpimpl.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cpukit/include/rtems/score/smpimpl.h b/cpukit/include/rtems/score/smpimpl.h
index ddc2df6..32704d7 100644
--- a/cpukit/include/rtems/score/smpimpl.h
+++ b/cpukit/include/rtems/score/smpimpl.h
@@ -331,7 +331,7 @@ RTEMS_INLINE_ROUTINE const Processor_mask *_SMP_Get_online_processors( void )
* @return True if inter-processor interrupts are needed for the correct system
* operation, otherwise false.
*/
-RTEMS_INLINE_ROUTINE const bool _SMP_Need_inter_processor_interrupts( void )
+RTEMS_INLINE_ROUTINE bool _SMP_Need_inter_processor_interrupts( void )
{
/*
* Use the configured processor maximum instead of the actual to allow
More information about the vc
mailing list