aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Crisci <tony@dubstepdish.com>2017-12-03 08:42:47 -0500
committerTony Crisci <tony@dubstepdish.com>2017-12-03 08:42:47 -0500
commit9220225f1df384085b0fe80089b06d5ba1f290de (patch)
tree2f99a579911f744184b8bd5464d53f7f4a793cd4
parented88b1119712860df18492ba9c2871063c5d47ea (diff)
remove unused timespec_to_msec
-rw-r--r--sway/desktop/output.c4
1 files changed, 0 insertions, 4 deletions
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;