It has no callers so drop it. Signed-off-by: Christian Gmeiner <christian.gmeiner@xxxxxxxxx> --- etnaviv/etnaviv_priv.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/etnaviv/etnaviv_priv.h b/etnaviv/etnaviv_priv.h index 30cc1bd..667bf23 100644 --- a/etnaviv/etnaviv_priv.h +++ b/etnaviv/etnaviv_priv.h @@ -189,15 +189,6 @@ struct etna_cmd_stream_priv { #define VOID2U64(x) ((uint64_t)(unsigned long)(x)) -static inline void get_abs_timeout(struct drm_etnaviv_timespec *tv, uint32_t ms) -{ - struct timespec t; - uint32_t s = ms / 1000; - clock_gettime(CLOCK_MONOTONIC, &t); - tv->tv_sec = t.tv_sec + s; - tv->tv_nsec = t.tv_nsec + ((ms - (s * 1000)) * 1000000); -} - static inline void get_abs_timeout_ns(struct drm_etnaviv_timespec *tv, uint64_t ns) { struct timespec t; -- 2.7.4 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel