Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devman.c

    rd0dd7b5 re280857  
    11001100}
    11011101
    1102 /** Remove function from device tree.
    1103  *
    1104  * @param tree          Device tree
    1105  * @param node          Function node to remove
    1106  */
    1107 void remove_fun_node(dev_tree_t *tree, fun_node_t *fun)
    1108 {
    1109         assert(tree != NULL);
    1110         assert(fun != NULL);
    1111         assert(fibril_rwlock_is_write_locked(&tree->rwlock));
    1112        
    1113         /* Remove the node from the handle-to-node map. */
    1114         unsigned long key = fun->handle;
    1115         hash_table_remove(&tree->devman_functions, &key, 1);
    1116        
    1117         /* Remove the node from the list of its parent's children. */
    1118         if (fun->dev != NULL)
    1119                 list_remove(&fun->dev_functions);
    1120 }
    1121 
    11221102/** Find function node with a specified path in the device tree.
    11231103 *
Note: See TracChangeset for help on using the changeset viewer.