forked from Imagelibrary/rtems
kern_tc.c: Remove unused code
This fix relates to a Coverity issue (PW.DECLARED_BUT_NOT_REFERENCED).
This commit is contained in:
committed by
Moyano, Gabriel
parent
c8a1060988
commit
d5649e25f3
@@ -81,12 +81,6 @@ ISR_LOCK_DEFINE(, _Timecounter_Lock, "Timecounter")
|
|||||||
#define printf(...)
|
#define printf(...)
|
||||||
#define bcopy(x, y, z) memcpy(y, x, z);
|
#define bcopy(x, y, z) memcpy(y, x, z);
|
||||||
#define log(...)
|
#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 */
|
/* FIXME: https://devel.rtems.org/ticket/2348 */
|
||||||
#define ntp_update_second(a, b) do { (void) a; (void) b; } while (0)
|
#define ntp_update_second(a, b) do { (void) a; (void) b; } while (0)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user