aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm2
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2023-09-09 20:50:55 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2023-09-09 20:50:55 +0000
commitef545fe7ba6628054765c81624bb5f95884d45f2 (patch)
tree847295b4da003aaf964c6aef6ec52fc3e246fbb3 /sys/dev/drm2
parentd0af08c4ba3e400049d246d72401ce36d3bee98a (diff)
Diffstat (limited to 'sys/dev/drm2')
-rw-r--r--sys/dev/drm2/drm_os_freebsd.h7
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 7f5bb22aff03..0ce0dede6d73 100644
--- a/sys/dev/drm2/drm_os_freebsd.h
+++ b/sys/dev/drm2/drm_os_freebsd.h
@@ -304,13 +304,6 @@ ilog2(unsigned long x)
return (flsl(x) - 1);
}
-static inline int64_t
-abs64(int64_t x)
-{
-
- return (x < 0 ? -x : x);
-}
-
int64_t timeval_to_ns(const struct timeval *tv);
struct timeval ns_to_timeval(const int64_t nsec);