summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/include
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-06-29 08:42:01 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-06-29 08:42:01 +0000
commitd010de4cbf0104f3d5b2294bca3530a2aedbf090 (patch)
treed4a2a86434cca1d416af112d3cd05e53d407f46f /sys/dev/pci/drm/include
parent45bcfb269ef49aafa5c5969cca4f53aabe4779d2 (diff)
remove unused interfaces which were removed from linux
Diffstat (limited to 'sys/dev/pci/drm/include')
-rw-r--r--sys/dev/pci/drm/include/linux/ktime.h11
-rw-r--r--sys/dev/pci/drm/include/linux/timekeeping.h2
2 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/pci/drm/include/linux/ktime.h b/sys/dev/pci/drm/include/linux/ktime.h
index 7e5ccf322da..8edf0205069 100644
--- a/sys/dev/pci/drm/include/linux/ktime.h
+++ b/sys/dev/pci/drm/include/linux/ktime.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ktime.h,v 1.2 2020/06/08 04:48:14 jsg Exp $ */
+/* $OpenBSD: ktime.h,v 1.3 2020/06/29 08:42:00 jsg Exp $ */
/*
* Copyright (c) 2013, 2014, 2015 Mark Kettenis
*
@@ -42,13 +42,6 @@ ktime_get_raw(void)
return tv;
}
-static inline struct timeval
-ktime_get_monotonic_offset(void)
-{
- struct timeval tv = {0, 0};
- return tv;
-}
-
static inline int64_t
ktime_to_ms(struct timeval tv)
{
@@ -73,8 +66,6 @@ ktime_get_raw_ns(void)
return ktime_to_ns(ktime_get());
}
-#define ktime_to_timeval(tv) (tv)
-
static inline struct timespec64
ktime_to_timespec64(struct timeval tv)
{
diff --git a/sys/dev/pci/drm/include/linux/timekeeping.h b/sys/dev/pci/drm/include/linux/timekeeping.h
index cd596d2e9ec..bffff26937c 100644
--- a/sys/dev/pci/drm/include/linux/timekeeping.h
+++ b/sys/dev/pci/drm/include/linux/timekeeping.h
@@ -10,8 +10,6 @@
#define ktime_get_real() ktime_get()
#define ktime_get_boottime() ktime_get()
-#define do_gettimeofday(tv) getmicrouptime(tv)
-
static inline int64_t
ktime_get_real_seconds(void)
{