Changeset 8f68913f in mainline for uspace/drv/bus/usb/vhc/transfer.c


Ignore:
Timestamp:
2012-12-20T11:48:32Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d9b2c73
Parents:
21be46a
Message:

libusbhost, libdrv, vhc: Drop ddf_fun_t argument to callback functions.

It was never used.
If ddf_fun_t is needed is should be passed in arg instead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/transfer.c

    r21be46a r8f68913f  
    206206
    207207        if (transfer->direction == USB_DIRECTION_IN) {
    208                 transfer->callback_in(transfer->ddf_fun, outcome,
     208                transfer->callback_in(outcome,
    209209                    data_transfer_size, transfer->callback_arg);
    210210        } else {
    211211                assert(transfer->direction == USB_DIRECTION_OUT);
    212                 transfer->callback_out(transfer->ddf_fun, outcome,
    213                     transfer->callback_arg);
     212                transfer->callback_out(outcome, transfer->callback_arg);
    214213        }
    215214
Note: See TracChangeset for help on using the changeset viewer.