summaryrefslogtreecommitdiff
path: root/sys/dev/fdt/sxirtc.c
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2021-04-24 10:15:16 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2021-04-24 10:15:16 +0000
commit3eb0e0d3ff9e95b28667ceb14aa7cbb430cd150f (patch)
tree291f0972df5fff3eca0a1bfbd5397e5f49588c8b /sys/dev/fdt/sxirtc.c
parentd04bb19f2d08279e868dd93bc4574c8cf66a9f99 (diff)
Remove unused function pointers from `todr_handle'.
from miod@
Diffstat (limited to 'sys/dev/fdt/sxirtc.c')
-rw-r--r--sys/dev/fdt/sxirtc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/fdt/sxirtc.c b/sys/dev/fdt/sxirtc.c
index 02010e377a3..b9d397d9e0f 100644
--- a/sys/dev/fdt/sxirtc.c
+++ b/sys/dev/fdt/sxirtc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sxirtc.c,v 1.4 2019/08/11 14:46:18 kettenis Exp $ */
+/* $OpenBSD: sxirtc.c,v 1.5 2021/04/24 10:15:15 mpi Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
* Copyright (c) 2013 Artturi Alm
@@ -146,8 +146,6 @@ sxirtc_attach(struct device *parent, struct device *self, void *aux)
handle->cookie = self;
handle->todr_gettime = sxirtc_gettime;
handle->todr_settime = sxirtc_settime;
- handle->todr_getcal = NULL;
- handle->todr_setcal = NULL;
handle->bus_cookie = NULL;
handle->todr_setwen = NULL;
todr_handle = handle;