[rtems-docs commit] eng: Remove bogus coding rule

Sebastian Huber sebh at rtems.org
Fri Sep 3 06:21:22 UTC 2021


Module:    rtems-docs
Branch:    master
Commit:    8edb899da58122bfa4789c402df834b4b19d7345
Changeset: http://git.rtems.org/rtems-docs/commit/?id=8edb899da58122bfa4789c402df834b4b19d7345

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep  2 11:18:48 2021 +0200

eng: Remove bogus coding rule

Declaring functions used only through function pointers as inline makes
absolutely no sense at all.

---

 eng/coding-conventions.rst | 2 --
 1 file changed, 2 deletions(-)

diff --git a/eng/coding-conventions.rst b/eng/coding-conventions.rst
index 668a917..575dd44 100644
--- a/eng/coding-conventions.rst
+++ b/eng/coding-conventions.rst
@@ -219,8 +219,6 @@ Performance
 * Understand the constraints of `real-time programming <https://devel.rtems.org/wiki/TBR/Review/Real-Time_Resources>`_..
   Limit execution times in interrupt contexts and critical sections,
   such as Interrupt and Timer Service Routines (TSRs).
-* Functions used only through function pointers should be declared
-  'static inline' (RTEMS_INLINE_ROUTINE)
 * Prefer to ++preincrement instead of postincrement++.
 * Avoid using floating point except where absolutely necessary.
 



More information about the vc mailing list