[PATCH 08/11] score: Remove superfluous type qualifier

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Jan 28 15:28:04 UTC 2021


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 ddc2df6b11..32704d7288 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
-- 
2.26.2



More information about the devel mailing list