diff options
author | 2020-06-29 08:42:00 +0000 | |
---|---|---|
committer | 2020-06-29 08:42:00 +0000 | |
commit | 90ce63f3db96c6b7b313c79c6c582cbb917807e3 (patch) | |
tree | fd611e66157706a0449312fa2933528f5ffef23c /sys/dev/pci/drm/include/linux | |
parent | avoid a NULL deref in xen_intr_barrier() (diff) | |
download | wireguard-openbsd-90ce63f3db96c6b7b313c79c6c582cbb917807e3.tar.xz wireguard-openbsd-90ce63f3db96c6b7b313c79c6c582cbb917807e3.zip |
remove unused interfaces which were removed from linux
Diffstat (limited to 'sys/dev/pci/drm/include/linux')
-rw-r--r-- | sys/dev/pci/drm/include/linux/ktime.h | 11 | ||||
-rw-r--r-- | sys/dev/pci/drm/include/linux/timekeeping.h | 2 |
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) { |