aboutsummaryrefslogtreecommitdiff
path: root/sys/netatm
diff options
context:
space:
mode:
authorAndrew R. Reiter <arr@FreeBSD.org>2002-05-07 20:50:10 +0000
committerAndrew R. Reiter <arr@FreeBSD.org>2002-05-07 20:50:10 +0000
commit52550fcde1d1c42a0a59552e48fec29bd7dca74d (patch)
treeda1a50d3d684b31fb4bb45cc8a37716ecfe639ba /sys/netatm
parent3130f091612983d293fc6b20f96d40168b3baf54 (diff)
downloadsrc-52550fcde1d1c42a0a59552e48fec29bd7dca74d.tar.gz
src-52550fcde1d1c42a0a59552e48fec29bd7dca74d.zip
- Remove the init routine for loop -- it broke something and I don't have
the time to fix it properly at the moment.
Notes
Notes: svn path=/head/; revision=96180
Diffstat (limited to 'sys/netatm')
-rw-r--r--sys/netatm/atm_subr.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/sys/netatm/atm_subr.c b/sys/netatm/atm_subr.c
index 556837bb78fa..43d651d59d5c 100644
--- a/sys/netatm/atm_subr.c
+++ b/sys/netatm/atm_subr.c
@@ -95,13 +95,6 @@ static struct atm_time atm_compactimer = {0, 0};
static uma_zone_t atm_stackq_zone;
-static atm_init_fn atm_init_fns[] = {
- &atm_sock_init,
- &atm_cm_init,
- &atm_aal5_init,
- NULL
-};
-
/*
* Initialize ATM kernel
*
@@ -119,8 +112,6 @@ static atm_init_fn atm_init_fns[] = {
void
atm_initialize()
{
- u_int i;
-
/*
* Never called from interrupts, so no locking needed
*/
@@ -150,8 +141,10 @@ atm_initialize()
/*
* Initialize subsystems
*/
- for (i = 0; i < sizeof(atm_init_fns) / sizeof(atm_init_fn); i++)
- atm_init_fns[i]();
+ atm_sock_init();
+ atm_cm_init();
+ atm_aal5_init();
+
/*
* Prime the timer
*/