mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-10 03:20:49 +00:00
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: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
2701f686d7
commit
d4923090c1
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user