Changeset 6f05705 in mainline for uspace/drv/bus/usb/usbhub/port.c


Ignore:
Timestamp:
2011-10-07T17:12:30Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fec6bf2
Parents:
75f9dcd
Message:

usbhub: Declare iteration variables inside for loops.

Codestyle.

File:
1 edited

Legend:

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

    r75f9dcd r6f05705  
    469469        assert(port);
    470470        struct add_device_phase1 *data
    471             = malloc(sizeof (struct add_device_phase1));
     471            = malloc(sizeof(struct add_device_phase1));
    472472        if (data == NULL) {
    473473                return ENOMEM;
Note: See TracChangeset for help on using the changeset viewer.