mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-24 03:37:16 +00:00
drm2: Remove one more implementation of ilog2()
Reviewed by: dougm
Fixes: b0056b31e9
("libkern: add ilog2 macro")
Differential Revision: https://reviews.freebsd.org/D45504
This commit is contained in:
parent
9e012a9da5
commit
c70c791f06
|
@ -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