aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-07-16 12:37:18 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-09-15 12:01:49 -0700
commitd4923090c1591f12d8f65e9d15a7ce2b63be2e87 (patch)
treee119dc28b2d9c60fd16ff74b242620db8a69d5a5 /drivers
parent2701f686d7083d516c2f937031515b032d71f563 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/hv/include/osd.h1
-rw-r--r--drivers/staging/hv/osd.c14
2 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/hv/include/osd.h b/drivers/staging/hv/include/osd.h
index 2d5cd4de983..3878a2fe77b 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 42da804e99a..3cc2bb3caac 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);