Index: uspace/lib/drv/generic/driver.c
===================================================================
--- uspace/lib/drv/generic/driver.c	(revision cd0684db79e00ab134a988e66f3c68b8b17e2ffd)
+++ uspace/lib/drv/generic/driver.c	(revision 659ca07ee874dd73f2c55ae0f068de4649cef844)
@@ -632,56 +632,4 @@
 }
 
-
-/** Wrapper for child_device_register for devices with single match id.
- *
- * @param parent Parent device.
- * @param child_name Child device name.
- * @param child_match_id Child device match id.
- * @param child_match_score Child device match score.
- * @return Error code.
- */
-int register_function_wrapper(device_t *dev, const char *fun_name,
-    const char *match_id, int match_score)
-{
-	function_t *fun = NULL;
-	match_id_t *m_id = NULL;
-	int rc;
-	
-	fun = ddf_fun_create(dev, fun_inner, fun_name);
-	if (fun == NULL) {
-		rc = ENOMEM;
-		goto failure;
-	}
-	
-	m_id = create_match_id();
-	if (m_id == NULL) {
-		rc = ENOMEM;
-		goto failure;
-	}
-	
-	m_id->id = match_id;
-	m_id->score = match_score;
-	add_match_id(&fun->match_ids, m_id);
-	
-	rc = ddf_fun_bind(fun);
-	if (rc != EOK)
-		goto failure;
-	
-	return EOK;
-	
-failure:
-	if (m_id != NULL) {
-		m_id->id = NULL;
-		delete_match_id(m_id);
-	}
-	
-	if (fun != NULL) {
-		fun->name = NULL;
-		delete_function(fun);
-	}
-	
-	return rc;
-}
-
 /** Get default handler for client requests */
 remote_handler_t *function_get_default_handler(function_t *fun)
Index: uspace/lib/drv/include/driver.h
===================================================================
--- uspace/lib/drv/include/driver.h	(revision cd0684db79e00ab134a988e66f3c68b8b17e2ffd)
+++ uspace/lib/drv/include/driver.h	(revision 659ca07ee874dd73f2c55ae0f068de4649cef844)
@@ -166,7 +166,4 @@
 extern void *function_get_ops(function_t *, dev_inferface_idx_t);
 
-extern int register_function_wrapper(device_t *, const char *, const char *,
-    int);
-
 /*
  * Interrupts
