Commit d4923090 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: hv: osd: remove GetTickCount and GetTimestamp wrappers

No one was even using them.

Cc: Hank Janssen <hjanssen@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2701f686
...@@ -121,7 +121,6 @@ extern HANDLE TimerCreate(PFN_TIMER_CALLBACK pfnTimerCB, void* context); ...@@ -121,7 +121,6 @@ extern HANDLE TimerCreate(PFN_TIMER_CALLBACK pfnTimerCB, void* context);
extern void TimerClose(HANDLE hTimer); extern void TimerClose(HANDLE hTimer);
extern int TimerStop(HANDLE hTimer); extern int TimerStop(HANDLE hTimer);
extern void TimerStart(HANDLE hTimer, u32 expirationInUs); extern void TimerStart(HANDLE hTimer, u32 expirationInUs);
extern size_t GetTickCount(void);
extern HANDLE WaitEventCreate(void); extern HANDLE WaitEventCreate(void);
extern void WaitEventClose(HANDLE hWait); extern void WaitEventClose(HANDLE hWait);
......
...@@ -232,20 +232,6 @@ void TimerClose(HANDLE hTimer) ...@@ -232,20 +232,6 @@ void TimerClose(HANDLE hTimer)
kfree(t); 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) HANDLE WaitEventCreate(void)
{ {
WAITEVENT* wait = kmalloc(sizeof(WAITEVENT), GFP_KERNEL); WAITEVENT* wait = kmalloc(sizeof(WAITEVENT), GFP_KERNEL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment