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:
Mark Johnston 2024-06-05 18:18:19 -04:00 committed by Doug Moore
parent 4ed1837853
commit 7443532d5e

View file

@ -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);