summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit')
-rw-r--r--cpukit/include/drvmgr/drvmgr.h6
-rw-r--r--cpukit/libdrvmgr/drvmgr.c9
2 files changed, 0 insertions, 15 deletions
diff --git a/cpukit/include/drvmgr/drvmgr.h b/cpukit/include/drvmgr/drvmgr.h
index cb8f4a5f5a..afb9432e5d 100644
--- a/cpukit/include/drvmgr/drvmgr.h
+++ b/cpukit/include/drvmgr/drvmgr.h
@@ -350,12 +350,6 @@ extern void _DRV_Manager_initialization(void);
*/
extern void _DRV_Manager_init_level(int level);
-/*! This function must be defined by the BSP when the driver manager is enabled
- * and initialized during BSP initialization. The function is called after a
- * init level is reached the first time by the driver manager.
- */
-extern void bsp_driver_level_hook(int level);
-
/*! Init driver manager all in one go, will call _DRV_Manager_initialization(),
* then _DRV_Manager_init_level([1..DRVMGR_LEVEL_MAX]).
* Typically called from Init task when user wants to initilize driver
diff --git a/cpukit/libdrvmgr/drvmgr.c b/cpukit/libdrvmgr/drvmgr.c
index 70bb9337ce..43148fd76a 100644
--- a/cpukit/libdrvmgr/drvmgr.c
+++ b/cpukit/libdrvmgr/drvmgr.c
@@ -66,13 +66,6 @@ static int do_dev_init(
/* DRIVER MANAGER */
-void bsp_driver_level_hook(int level) __attribute__((weak));
-
-/* default hook does nothing, BSP may override. */
-void bsp_driver_level_hook(int level)
-{
-}
-
void _DRV_Manager_init_level(int level)
{
struct drvmgr *mgr = &drvmgr;
@@ -85,8 +78,6 @@ void _DRV_Manager_init_level(int level)
/* Initialize buses and devices into this new level */
drvmgr_init_update();
-
- bsp_driver_level_hook(level);
}
/* Initialize Data structures of the driver manager and call driver