From 9ecdd506eaa2402ed14642e1aca3e565a9aefff5 Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Thu, 1 Jul 2004 15:42:03 +0000 Subject: [PATCH] Remove unused argument for good. --- sys/geom/gate/g_gate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/geom/gate/g_gate.c b/sys/geom/gate/g_gate.c index fb7e81a3168..46682356975 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);