Changes in / [4d946647:d8987b1] in mainline


Ignore:
Location:
uspace
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/hc.c

    r4d946647 rd8987b1  
    241241        ret = bandwidth_init(&instance->bandwidth, BANDWIDTH_AVAILABLE_USB11,
    242242            bandwidth_count_usb11);
    243         assert(ret == EOK);
     243        assert(ret == true);
    244244
    245245        return EOK;
  • uspace/lib/usb/src/host/bandwidth.c

    r4d946647 rd8987b1  
    127127        instance->free = bandwidth;
    128128        instance->usage_fnc = usage_fnc;
    129         bool ht =
     129        return
    130130            hash_table_create(&instance->reserved, BUCKET_COUNT, MAX_KEYS, &op);
    131         return ht ? EOK : ENOMEM;
    132131}
    133132/*----------------------------------------------------------------------------*/
Note: See TracChangeset for help on using the changeset viewer.