Message ID | 1479885981-20186-5-git-send-email-christian.gmeiner@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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;
It has no callers so drop it. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com> --- etnaviv/etnaviv_priv.h | 9 --------- 1 file changed, 9 deletions(-)