summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/arc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/arc.c')
-rw-r--r--sys/dev/pci/arc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/arc.c b/sys/dev/pci/arc.c
index cb4995fcaa0..676b8ec97cf 100644
--- a/sys/dev/pci/arc.c
+++ b/sys/dev/pci/arc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: arc.c,v 1.105 2015/01/12 00:07:55 dlg Exp $ */
+/* $OpenBSD: arc.c,v 1.106 2015/01/27 03:17:36 dlg Exp $ */
/*
* Copyright (c) 2006 David Gwynne <dlg@openbsd.org>
@@ -674,7 +674,7 @@ struct arc_task {
struct arc_softc *sc;
};
/* sensors */
-void arc_create_sensors(void *, void *);
+void arc_create_sensors(void *);
void arc_refresh_sensors(void *);
#endif /* SMALL_KERNEL */
#endif
@@ -834,7 +834,7 @@ arc_attach(struct device *parent, struct device *self, void *aux)
at = malloc(sizeof(*at), M_TEMP, M_WAITOK);
at->sc = sc;
- task_set(&at->t, arc_create_sensors, at, NULL);
+ task_set(&at->t, arc_create_sensors, at);
task_add(systq, &at->t);
}
#endif
@@ -2606,7 +2606,7 @@ arc_wait(struct arc_softc *sc)
#ifndef SMALL_KERNEL
void
-arc_create_sensors(void *xat, void *null)
+arc_create_sensors(void *xat)
{
struct arc_task *at = xat;
struct arc_softc *sc = at->sc;