commit 9220225f1df384085b0fe80089b06d5ba1f290de
parent ed88b1119712860df18492ba9c2871063c5d47ea
Author: Tony Crisci <tony@dubstepdish.com>
Date: Sun, 3 Dec 2017 08:42:47 -0500
remove unused timespec_to_msec
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git 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;