drm2: fix build after abs64 became global

Fixes: 229c65a83f ("kern: Globally define abs64")
Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Mateusz Guzik 2023-09-09 20:50:55 +00:00
parent d0af08c4ba
commit ef545fe7ba

View file

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