summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-01-28 11:40:10 +0100
committerMoyano, Gabriel <gabriel.moyano@dlr.de>2021-11-16 09:48:22 +0100
commitd5649e25f342b23de2f380adbfd24fe9dd37c499 (patch)
tree04c8fdc444732b2c24581e4849fb074b6ab1995b
parentAdd support for IDLE Thread stack allocator (diff)
downloadrtems-d5649e25f342b23de2f380adbfd24fe9dd37c499.tar.bz2
kern_tc.c: Remove unused code
This fix relates to a Coverity issue (PW.DECLARED_BUT_NOT_REFERENCED).
-rw-r--r--cpukit/score/src/kern_tc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c
index 1b65cf41ee..f004c9bf97 100644
--- a/cpukit/score/src/kern_tc.c
+++ b/cpukit/score/src/kern_tc.c
@@ -81,12 +81,6 @@ ISR_LOCK_DEFINE(, _Timecounter_Lock, "Timecounter")
#define printf(...)
#define bcopy(x, y, z) memcpy(y, x, z);
#define log(...)
-static inline int
-builtin_fls(int x)
-{
- return x ? sizeof(x) * 8 - __builtin_clz(x) : 0;
-}
-#define fls(x) builtin_fls(x)
/* FIXME: https://devel.rtems.org/ticket/2348 */
#define ntp_update_second(a, b) do { (void) a; (void) b; } while (0)