diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-01-28 11:40:10 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-02-01 06:22:20 +0100 |
commit | 198e92635ccbd7fee17b7d91d77c3a288eeb9aac (patch) | |
tree | 8a3485861b21a57830edd770ac160e8c3c7d527f /cpukit/score/src/kern_tc.c | |
parent | score: Add comments and asserts for clarification (diff) | |
download | rtems-198e92635ccbd7fee17b7d91d77c3a288eeb9aac.tar.bz2 |
kern_tc.c: Remove unused code
This fix relates to a Coverity issue (PW.DECLARED_BUT_NOT_REFERENCED).
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/src/kern_tc.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cpukit/score/src/kern_tc.c b/cpukit/score/src/kern_tc.c index a93cfaeff0..b5f761aae0 100644 --- a/cpukit/score/src/kern_tc.c +++ b/cpukit/score/src/kern_tc.c @@ -98,12 +98,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) |