Changeset 58563585 in mainline for uspace/lib/usbdev/src/pipesinit.c


Ignore:
Timestamp:
2016-08-31T11:15:39Z (8 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
10cb47e
Parents:
7a67416
Message:

code review and cstyle cleanup (no change in functionality)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/pipesinit.c

    r7a67416 r58563585  
    286286    usb_dev_session_t *bus_session)
    287287{
    288 
    289         if (config_descriptor == NULL) {
     288        if (config_descriptor == NULL)
    290289                return EBADMEM;
    291         }
    292         if (config_descriptor_size
    293             < sizeof(usb_standard_configuration_descriptor_t)) {
     290       
     291        if (config_descriptor_size <
     292            sizeof(usb_standard_configuration_descriptor_t)) {
    294293                return ERANGE;
    295294        }
Note: See TracChangeset for help on using the changeset viewer.