Changeset 1433ecda in mainline for uspace/lib/usb/src/port.c


Ignore:
Timestamp:
2018-04-04T15:42:37Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2c4e1cc
Parents:
47b2d7e3
Message:

Fix cstyle: make ccheck-fix and commit only files where all the changes are good.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/port.c

    r47b2d7e3 r1433ecda  
    6666static int enumerate_worker(void *arg)
    6767{
    68         struct enumerate_worker_args * const args = arg;
     68        struct enumerate_worker_args *const args = arg;
    6969        usb_port_t *port = args->port;
    7070        usb_port_enumerate_t handler = args->handler;
     
    8484        assert(port->state == PORT_CONNECTING);
    8585
    86         port->state = handler(port)
    87                 ? PORT_DISABLED
    88                 : PORT_ENUMERATED;
     86        port->state = handler(port) ? PORT_DISABLED : PORT_ENUMERATED;
    8987
    9088out:
     
    143141static int remove_worker(void *arg)
    144142{
    145         struct remove_worker_args * const args = arg;
     143        struct remove_worker_args *const args = arg;
    146144        usb_port_t *port = args->port;
    147145        usb_port_remove_t handler = args->handler;
Note: See TracChangeset for help on using the changeset viewer.