Changeset 8d3cd30 in mainline


Ignore:
Timestamp:
2011-09-23T09:52:47Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b3433a2
Parents:
75eb6735
Message:

usbhub: Remove is_default_address_used.

Contrary to what the comment claimed, it was not used anywhere.

Location:
uspace/drv/bus/usb/usbhub
Files:
2 edited

Legend:

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

    r75eb6735 r8d3cd30  
    155155        return EOK;
    156156}
    157 
     157/*----------------------------------------------------------------------------*/
    158158/** Callback for polling hub for changes.
    159159 *
     
    196196        return true;
    197197}
    198 
    199 
    200 //*********************************************
    201 //
    202 //  support functions
    203 //
    204 //*********************************************
    205 
     198/*----------------------------------------------------------------------------*/
    206199/**
    207200 * create usb_hub_info_t structure
     
    220213        info->usb_device = usb_dev;
    221214        info->control_pipe = &usb_dev->ctrl_pipe;
    222         info->is_default_address_used = false;
    223215
    224216        info->ports = NULL;
     
    231223        return info;
    232224}
    233 
     225/*----------------------------------------------------------------------------*/
    234226/**
    235227 * Load hub-specific information into hub_info structure and process if needed
  • uspace/drv/bus/usb/usbhub/usbhub.h

    r75eb6735 r8d3cd30  
    6464        usb_hc_connection_t connection;
    6565
    66         /** default address is used indicator
    67          *
    68          * If default address is requested by this device, it cannot
    69          * be requested by the same hub again, otherwise a deadlock will occur.
    70          */
    71         bool is_default_address_used;
    72 
    7366        /** Convenience pointer to control pipe
    7467         *
Note: See TracChangeset for help on using the changeset viewer.