Changeset 8f68913f in mainline for uspace/lib/drv


Ignore:
Timestamp:
2012-12-20T11:48:32Z (13 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.

Location:
uspace/lib/drv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_usbhc.c

    r21be46a r8f68913f  
    463463}
    464464
    465 static void callback_out(ddf_fun_t *fun,
    466     int outcome, void *arg)
     465static void callback_out(int outcome, void *arg)
    467466{
    468467        async_transaction_t *trans = arg;
     
    473472}
    474473
    475 static void callback_in(ddf_fun_t *fun,
    476     int outcome, size_t actual_size, void *arg)
     474static void callback_in(int outcome, size_t actual_size, void *arg)
    477475{
    478476        async_transaction_t *trans = (async_transaction_t *)arg;
  • uspace/lib/drv/include/usbhc_iface.h

    r21be46a r8f68913f  
    5858
    5959/** Callback for outgoing transfer. */
    60 typedef void (*usbhc_iface_transfer_out_callback_t)(ddf_fun_t *, int, void *);
     60typedef void (*usbhc_iface_transfer_out_callback_t)(int, void *);
    6161
    6262/** Callback for incoming transfer. */
    63 typedef void (*usbhc_iface_transfer_in_callback_t)(ddf_fun_t *,
    64     int, size_t, void *);
     63typedef void (*usbhc_iface_transfer_in_callback_t)(int, size_t, void *);
    6564
    6665/** USB host controller communication interface. */
Note: See TracChangeset for help on using the changeset viewer.