summaryrefslogtreecommitdiffstats
path: root/eng/coding-conventions.rst
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-02 11:18:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-09-02 11:20:22 +0200
commit8edb899da58122bfa4789c402df834b4b19d7345 (patch)
tree9f90abddf5871c2256079ccfd21134b34429b089 /eng/coding-conventions.rst
parentc-user: Add LIFO to glossary (diff)
downloadrtems-docs-8edb899da58122bfa4789c402df834b4b19d7345.tar.bz2
eng: Remove bogus coding rule
Declaring functions used only through function pointers as inline makes absolutely no sense at all.
Diffstat (limited to 'eng/coding-conventions.rst')
-rw-r--r--eng/coding-conventions.rst2
1 files changed, 0 insertions, 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.