]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Staging: hv: osd: remove GetTickCount and GetTimestamp wrappers
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Jul 2009 19:37:18 +0000 (12:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Sep 2009 19:01:49 +0000 (12:01 -0700)
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>
drivers/staging/hv/include/osd.h
drivers/staging/hv/osd.c

index 2d5cd4de983dd654b377c6afca3e7a3b03b1d5a7..3878a2fe77b764d5fc6915b522d2a413d5fa95b2 100644 (file)
@@ -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);
index 42da804e99afe12c2777119b5991ac5938c00895..3cc2bb3caac8e7d41d40a8bbc79eae00e8a5b0de 100644 (file)
@@ -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);