summaryrefslogtreecommitdiff
path: root/sys/dev/pv/hyperv.c
diff options
context:
space:
mode:
authorScott Soule Cheloha <cheloha@cvs.openbsd.org>2023-02-04 19:19:38 +0000
committerScott Soule Cheloha <cheloha@cvs.openbsd.org>2023-02-04 19:19:38 +0000
commit5d83a62e34dc252e5f4dc8b16e11a4602c929dc8 (patch)
tree0b5b760d505f69fb36b77a3e939a1599d80cc3f5 /sys/dev/pv/hyperv.c
parentd0288629176c1f44b860fc07b99dd46bde24baf6 (diff)
timecounting: remove incomplete PPS support
The timecounting code has had stubs for pulse-per-second (PPS) polling since it was imported in 2004. At this point it seems unlikely that anyone is going to finish adding PPS support, so let's remove the stubs: - Delete the dead tc_poll_pps() call from tc_windup(). - Remove all tc_poll_pps symbols from the kernel. Link: https://marc.info/?l=openbsd-tech&m=167519035723210&w=2 ok miod@
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r--sys/dev/pv/hyperv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c
index f57a5e366c1..08a713d814d 100644
--- a/sys/dev/pv/hyperv.c
+++ b/sys/dev/pv/hyperv.c
@@ -142,7 +142,6 @@ struct {
struct timecounter hv_timecounter = {
.tc_get_timecount = hv_gettime,
- .tc_poll_pps = 0,
.tc_counter_mask = 0xffffffff,
.tc_frequency = 10000000,
.tc_name = "hyperv",