The branch main has been updated by mjg:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=ef545fe7ba6628054765c81624bb5f95884d45f2

commit ef545fe7ba6628054765c81624bb5f95884d45f2
Author:     Mateusz Guzik <[email protected]>
AuthorDate: 2023-09-09 20:50:55 +0000
Commit:     Mateusz Guzik <[email protected]>
CommitDate: 2023-09-09 20:50:55 +0000

    drm2: fix build after abs64 became global
    
    Fixes: 229c65a83fb ("kern: Globally define abs64")
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 sys/dev/drm2/drm_os_freebsd.h | 7 -------
 1 file changed, 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);
 

Reply via email to