Changeset feb10c88 in mainline for uspace/drv/uhci-hcd/iface.c


Ignore:
Timestamp:
2011-04-07T14:35:08Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2e6bbcf
Parents:
8f30c2e
Message:

Remove redundant batch_get parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/uhci-hcd/iface.c

    r8f30c2e rfeb10c88  
    244244
    245245        usb_transfer_batch_t *batch =
    246             batch_get(fun, target, ep->transfer_type, ep->max_packet_size,
    247                 ep->speed, data, size, NULL, 0, NULL, callback, arg, ep);
     246            batch_get(fun, ep, data, size, NULL, 0, NULL, callback, arg);
    248247        if (!batch)
    249248                return ENOMEM;
     
    301300
    302301        usb_transfer_batch_t *batch =
    303             batch_get(fun, target, ep->transfer_type, ep->max_packet_size,
    304                 ep->speed, data, size, NULL, 0, callback, NULL, arg, ep);
     302            batch_get(fun, ep, data, size, NULL, 0, callback, NULL, arg);
    305303        if (!batch)
    306304                return ENOMEM;
     
    348346
    349347        usb_transfer_batch_t *batch =
    350             batch_get(fun, target, ep->transfer_type, ep->max_packet_size,
    351                 ep->speed, data, size, NULL, 0, NULL, callback, arg, ep);
     348            batch_get(fun, ep, data, size, NULL, 0, NULL, callback, arg);
    352349        if (!batch)
    353350                return ENOMEM;
     
    394391
    395392        usb_transfer_batch_t *batch =
    396             batch_get(fun, target, ep->transfer_type, ep->max_packet_size,
    397                 ep->speed, data, size, NULL, 0, callback, NULL, arg, ep);
     393            batch_get(fun, ep, data, size, NULL, 0, callback, NULL, arg);
    398394        if (!batch)
    399395                return ENOMEM;
     
    447443
    448444        usb_transfer_batch_t *batch =
    449             batch_get(fun, target, ep->transfer_type, ep->max_packet_size,
    450                 ep->speed, data, size, setup_data, setup_size, NULL, callback,
    451                 arg, ep);
     445            batch_get(fun, ep, data, size, setup_data, setup_size,
     446                NULL, callback, arg);
    452447        if (!batch)
    453448                return ENOMEM;
     
    499494
    500495        usb_transfer_batch_t *batch =
    501             batch_get(fun, target, ep->transfer_type, ep->max_packet_size,
    502                 ep->speed, data, size, setup_data, setup_size,
    503                 callback, NULL, arg, ep);
     496            batch_get(fun, ep, data, size, setup_data, setup_size,
     497                callback, NULL, arg);
    504498        if (!batch)
    505499                return ENOMEM;
Note: See TracChangeset for help on using the changeset viewer.