Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 7099861 in mainline


Ignore:
Timestamp:
2011-09-07T10:20:11Z (10 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master
Children:
933b0d7
Parents:
563d9d0a
Message:

libusbhost: remove unused cond. variable

Location:
uspace/lib/usbhost
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/include/usb/host/usb_endpoint_manager.h

    r563d9d0a r7099861  
    5252        hash_table_t ep_table;
    5353        fibril_mutex_t guard;
    54         fibril_condvar_t change;
    5554        size_t free_bw;
    5655} usb_endpoint_manager_t;
  • uspace/lib/usbhost/src/usb_endpoint_manager.c

    r563d9d0a r7099861  
    144144        assert(instance);
    145145        fibril_mutex_initialize(&instance->guard);
    146         fibril_condvar_initialize(&instance->change);
    147146        instance->free_bw = available_bandwidth;
    148147        const bool ht =
     
    194193        instance->free_bw -= bw;
    195194        fibril_mutex_unlock(&instance->guard);
    196         fibril_condvar_broadcast(&instance->change);
    197195        return EOK;
    198196}
     
    221219
    222220        fibril_mutex_unlock(&instance->guard);
    223         fibril_condvar_broadcast(&instance->change);
    224221        return EOK;
    225222}
Note: See TracChangeset for help on using the changeset viewer.