From 9220225f1df384085b0fe80089b06d5ba1f290de Mon Sep 17 00:00:00 2001 From: Tony Crisci Date: Sun, 3 Dec 2017 08:42:47 -0500 Subject: remove unused timespec_to_msec --- sway/desktop/output.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sway/desktop/output.c') diff --git a/sway/desktop/output.c b/sway/desktop/output.c index 6b9822c1..7eb48bdf 100644 --- a/sway/desktop/output.c +++ b/sway/desktop/output.c @@ -13,10 +13,6 @@ #include "sway/server.h" #include "sway/view.h" -static inline int64_t timespec_to_msec(const struct timespec *a) { - return (int64_t)a->tv_sec * 1000 + a->tv_nsec / 1000000; -} - static void output_frame_view(swayc_t *view, void *data) { struct sway_output *output = data; struct wlr_output *wlr_output = output->wlr_output; -- cgit v1.2.3