diff options
| author | Doug Moore <dougm@FreeBSD.org> | 2024-06-24 07:00:31 +0000 |
|---|---|---|
| committer | Doug Moore <dougm@FreeBSD.org> | 2024-06-24 07:00:31 +0000 |
| commit | c8b0c33b03ac072413b27bed2bdae2ae27426f3a (patch) | |
| tree | a5c5e6a0cda077a252cb1a13d3609ae6df93ad4a /sys/dev/drm2 | |
| parent | a94ed493b50752cee09245fc312c63b00331f217 (diff) | |
Diffstat (limited to 'sys/dev/drm2')
| -rw-r--r-- | sys/dev/drm2/drm_os_freebsd.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/drm2/drm_os_freebsd.h b/sys/dev/drm2/drm_os_freebsd.h index 58523a33da2a..b2a2e82b748b 100644 --- a/sys/dev/drm2/drm_os_freebsd.h +++ b/sys/dev/drm2/drm_os_freebsd.h @@ -234,13 +234,6 @@ typedef void irqreturn_t; #define div_u64(n, d) ((n) / (d)) #define hweight32(i) bitcount32(i) -static inline unsigned long -roundup_pow_of_two(unsigned long x) -{ - - return (1UL << flsl(x - 1)); -} - /** * ror32 - rotate a 32-bit value right * @word: value to rotate |
