From 6f7be67a0fd7d07c83e9a6a03256f8279841cdc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 11 Feb 2003 19:32:08 +0000 Subject: [PATCH] Removed references to the load_driver_symbols() function. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2687 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/drivers/network/stack/net_stack_driver.c | 3 --- src/add-ons/kernel/network/core/core.c | 1 - src/add-ons/kernel/network/interfaces/ethernet/ethernet.c | 1 - src/add-ons/kernel/network/protocols/icmp/icmp.c | 1 - src/add-ons/kernel/network/protocols/ipv4/ipv4.c | 1 - 5 files changed, 7 deletions(-) diff --git a/src/add-ons/kernel/drivers/network/stack/net_stack_driver.c b/src/add-ons/kernel/drivers/network/stack/net_stack_driver.c index 976bc2a00b..1e30cc1cba 100644 --- a/src/add-ons/kernel/drivers/network/stack/net_stack_driver.c +++ b/src/add-ons/kernel/drivers/network/stack/net_stack_driver.c @@ -165,11 +165,8 @@ _EXPORT status_t init_hardware(void) void * sfmptr; #if SERIAL_DEBUGGING - int rv; - // XXX - switch on/off at top of file... set_dprintf_enabled(true); - rv = load_driver_symbols(DRIVER_NAME); #endif // get a pointer to the driver settings... diff --git a/src/add-ons/kernel/network/core/core.c b/src/add-ons/kernel/network/core/core.c index 81d0f5a21e..3b0ea82f74 100644 --- a/src/add-ons/kernel/network/core/core.c +++ b/src/add-ons/kernel/network/core/core.c @@ -1019,7 +1019,6 @@ _EXPORT status_t std_ops(int32 op, ...) switch(op) { case B_MODULE_INIT: printf("core: B_MODULE_INIT\n"); - load_driver_symbols("core"); break; case B_MODULE_UNINIT: diff --git a/src/add-ons/kernel/network/interfaces/ethernet/ethernet.c b/src/add-ons/kernel/network/interfaces/ethernet/ethernet.c index fbc3fa6674..a1ff2c3576 100644 --- a/src/add-ons/kernel/network/interfaces/ethernet/ethernet.c +++ b/src/add-ons/kernel/network/interfaces/ethernet/ethernet.c @@ -919,7 +919,6 @@ _EXPORT status_t std_ops(int32 op, ...) get_module(NET_CORE_MODULE_NAME, (module_info**)&core); if (!core) return B_ERROR; - load_driver_symbols("ethernet"); return B_OK; case B_MODULE_UNINIT: diff --git a/src/add-ons/kernel/network/protocols/icmp/icmp.c b/src/add-ons/kernel/network/protocols/icmp/icmp.c index b5126f29bc..7162e185a7 100644 --- a/src/add-ons/kernel/network/protocols/icmp/icmp.c +++ b/src/add-ons/kernel/network/protocols/icmp/icmp.c @@ -448,7 +448,6 @@ _EXPORT status_t std_ops(int32 op, ...) get_module(NET_CORE_MODULE_NAME, (module_info **) &core); if (!core) return B_ERROR; - load_driver_symbols("icmp"); return B_OK; case B_MODULE_UNINIT: diff --git a/src/add-ons/kernel/network/protocols/ipv4/ipv4.c b/src/add-ons/kernel/network/protocols/ipv4/ipv4.c index d3b5743b47..9e67c9ac0b 100644 --- a/src/add-ons/kernel/network/protocols/ipv4/ipv4.c +++ b/src/add-ons/kernel/network/protocols/ipv4/ipv4.c @@ -1221,7 +1221,6 @@ _EXPORT status_t std_ops(int32 op, ...) get_module(NET_CORE_MODULE_NAME, (module_info **) &core); if (!core) return B_ERROR; - load_driver_symbols("ipv4"); return B_OK; case B_MODULE_UNINIT: