Changeset 8f68913f in mainline for uspace/lib/usbhost/src


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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb_transfer_batch.c

    r21be46a r8f68913f  
    141141                            instance->setup_buffer);
    142142                }
    143                 instance->callback_out(instance->fun, error, instance->arg);
     143                instance->callback_out(error, instance->arg);
    144144        }
    145145
     
    150150                        memcpy(instance->buffer, data, safe_size);
    151151                }
    152                 instance->callback_in(instance->fun, error,
    153                     safe_size, instance->arg);
     152                instance->callback_in(error, safe_size, instance->arg);
    154153        }
    155154}
Note: See TracChangeset for help on using the changeset viewer.