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

Changeset 5ab4a48 in mainline for uspace/drv/usbmouse/init.c


Ignore:
Timestamp:
2011-04-17T10:48:44Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
4125b7d
Parents:
2c2cbcf
Message:

Remove usb_pipe_start_session & co (#196)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmouse/init.c

    r2c2cbcf r5ab4a48  
    125125        }
    126126       
    127         /* Open the control pipe. */
    128         rc = usb_pipe_start_session(&dev->ctrl_pipe);
    129         if (rc != EOK) {
    130                 goto leave;
    131         }
    132        
    133127        /* Set the boot protocol. */
    134128        rc = usb_control_request_set(&dev->ctrl_pipe,
     
    140134        }
    141135       
    142         /* Close the control pipe (ignore errors). */
    143         usb_pipe_end_session(&dev->ctrl_pipe);
    144 
    145 
    146         /* Everything allright. */
     136        /* Everything all right. */
    147137        dev->driver_data = mouse;
    148138        mouse->mouse_fun->driver_data = mouse;
Note: See TracChangeset for help on using the changeset viewer.