From 68c6014ff0a384cde8fb158456804525e9ac653d Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 22 Apr 2011 16:43:48 +0200 Subject: move get_time_stamp to main_channel.c There is only one user of get_time_stamp from spice_common.h so it's not really useful to keep it there. --- common/spice_common.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'common') diff --git a/common/spice_common.h b/common/spice_common.h index d324ca18..bc74486b 100644 --- a/common/spice_common.h +++ b/common/spice_common.h @@ -63,11 +63,4 @@ } \ } while (0) -static inline uint64_t get_time_stamp(void) -{ - struct timespec time_space; - clock_gettime(CLOCK_MONOTONIC, &time_space); - return time_space.tv_sec * 1000 * 1000 * 1000 + time_space.tv_nsec; -} - #endif -- cgit