summaryrefslogtreecommitdiffstats
path: root/sys/geom/gate
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-07-01 15:42:03 +0000
committerpjd <pjd@FreeBSD.org>2004-07-01 15:42:03 +0000
commit3c23c618881470535e89e39215203e0304a35223 (patch)
tree6f0fb76e437a33b6366f3f7751bd479b5df85ee5 /sys/geom/gate
parent061907e201ad1d1e8fe1475346b1e9d36e9e1e43 (diff)
downloadFreeBSD-src-3c23c618881470535e89e39215203e0304a35223.zip
FreeBSD-src-3c23c618881470535e89e39215203e0304a35223.tar.gz
Remove unused argument for good.
Diffstat (limited to 'sys/geom/gate')
-rw-r--r--sys/geom/gate/g_gate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c
index fb7e81a..4668235 100644
--- a/sys/geom/gate/g_gate.c
+++ b/sys/geom/gate/g_gate.c
@@ -605,7 +605,7 @@ g_gate_ioctl(struct cdev *dev, u_long cmd, caddr_t addr, int flags, struct threa
}
static void
-g_gate_device(void *unused __unused)
+g_gate_device(void)
{
status_dev = make_dev(&g_gate_cdevsw, 0x0, UID_ROOT, GID_WHEEL, 0600,
@@ -620,7 +620,7 @@ g_gate_modevent(module_t mod, int type, void *data)
switch (type) {
case MOD_LOAD:
mtx_init(&g_gate_list_mtx, "gg_list_lock", NULL, MTX_DEF);
- g_gate_device(NULL);
+ g_gate_device();
break;
case MOD_UNLOAD:
mtx_lock(&g_gate_list_mtx);
OpenPOWER on IntegriCloud