mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
drm2: Remove one more implementation of ilog2()
Reviewed by: dougm
Fixes: b0056b31e900 ("libkern: add ilog2 macro")
Differential Revision: https://reviews.freebsd.org/D45504
(cherry picked from commit c70c791f06601309201f6ca99d39fee83f5dd368)
This commit is contained in:
parent
4ed1837853
commit
7443532d5e
1 changed files with 0 additions and 7 deletions
|
|
@ -297,13 +297,6 @@ get_unaligned_le32(const void *p)
|
|||
}
|
||||
#endif
|
||||
|
||||
static inline unsigned long
|
||||
ilog2(unsigned long x)
|
||||
{
|
||||
|
||||
return (flsl(x) - 1);
|
||||
}
|
||||
|
||||
int64_t timeval_to_ns(const struct timeval *tv);
|
||||
struct timeval ns_to_timeval(const int64_t nsec);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue