Changeset 83c291d in mainline


Ignore:
Timestamp:
2011-02-20T22:54:02Z (14 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f21c0c
Parents:
b476347
Message:

Removal of useless code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbhub/usbhub.c

    rb476347 r83c291d  
    232232
    233233/**
    234  * Convenience function for releasing default address and writing debug info
    235  * (these few lines are used too often to be written again and again).
    236  * @param hc
    237  * @return
    238  */
    239 inline static int usb_hub_release_default_address(int hc){
    240         int opResult;
    241         dprintf(USB_LOG_LEVEL_INFO, "releasing default address");
    242         opResult = usb_drv_release_default_address(hc);
    243         if (opResult != EOK) {
    244                 dprintf(USB_LOG_LEVEL_WARNING, "failed to release default address");
    245         }
    246         return opResult;
    247 }
    248 
    249 /**
    250234 * Reset the port with new device and reserve the default address.
    251235 * @param hc
Note: See TracChangeset for help on using the changeset viewer.