From: Greg Kroah-Hartman Date: Thu, 16 Jul 2009 19:37:18 +0000 (-0700) Subject: Staging: hv: osd: remove GetTickCount and GetTimestamp wrappers X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d4923090c1591f12d8f65e9d15a7ce2b63be2e87;p=linux-beck.git Staging: hv: osd: remove GetTickCount and GetTimestamp wrappers No one was even using them. Cc: Hank Janssen Cc: Haiyang Zhang Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/hv/include/osd.h b/drivers/staging/hv/include/osd.h index 2d5cd4de983d..3878a2fe77b7 100644 --- a/drivers/staging/hv/include/osd.h +++ b/drivers/staging/hv/include/osd.h @@ -121,7 +121,6 @@ extern HANDLE TimerCreate(PFN_TIMER_CALLBACK pfnTimerCB, void* context); extern void TimerClose(HANDLE hTimer); extern int TimerStop(HANDLE hTimer); extern void TimerStart(HANDLE hTimer, u32 expirationInUs); -extern size_t GetTickCount(void); extern HANDLE WaitEventCreate(void); extern void WaitEventClose(HANDLE hWait); diff --git a/drivers/staging/hv/osd.c b/drivers/staging/hv/osd.c index 42da804e99af..3cc2bb3caac8 100644 --- a/drivers/staging/hv/osd.c +++ b/drivers/staging/hv/osd.c @@ -232,20 +232,6 @@ void TimerClose(HANDLE hTimer) kfree(t); } -size_t GetTickCount(void) -{ - return jiffies; -} - -signed long long GetTimestamp(void) -{ - struct timeval t; - - do_gettimeofday(&t); - - return timeval_to_ns(&t); -} - HANDLE WaitEventCreate(void) { WAITEVENT* wait = kmalloc(sizeof(WAITEVENT), GFP_KERNEL);