Changeset 554debd in mainline


Ignore:
Timestamp:
2010-12-11T21:52:46Z (14 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5174c62, 96b02eb9
Parents:
97d17fe
Message:

Remove add_device_guard mutex as changeset jakub@… made it unnecessary.

File:
1 edited

Legend:

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

    r97d17fe r554debd  
    678678}
    679679
    680 static FIBRIL_MUTEX_INITIALIZE(add_device_guard);
    681 
    682680/** Pass a device to running driver.
    683681 *
     
    687685void add_device(int phone, driver_t *drv, node_t *node, dev_tree_t *tree)
    688686{
    689         fibril_mutex_lock(&add_device_guard);
    690 
    691687        /*
    692688         * We do not expect to have driver's mutex locked as we do not
     
    719715        /* Wait for answer from the driver. */
    720716        async_wait_for(req, &rc);
    721 
    722         fibril_mutex_unlock(&add_device_guard);
    723717
    724718        switch(rc) {
Note: See TracChangeset for help on using the changeset viewer.