Ignore:
Timestamp:
2011-02-07T14:06:57Z (13 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fe10e72
Parents:
7e62b62
Message:

Lots of cleanup, removes unused code (replaced by trackers)

File:
1 edited

Legend:

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

    r7e62b62 r3f189c5  
    3636
    3737#include "transfer_descriptor.h"
     38#include "utils/malloc32.h"
    3839
    3940void transfer_descriptor_init(transfer_descriptor_t *instance,
     
    5859
    5960        instance->buffer_ptr = 0;
    60 
    61         instance->next_va = NULL;
    62         instance->callback = NULL;
    6361
    6462        if (size) {
     
    118116        return EOK;
    119117}
    120 /*----------------------------------------------------------------------------*/
    121 void transfer_descriptor_fini(transfer_descriptor_t *instance)
    122 {
    123         assert(instance);
    124         callback_run(instance->callback,
    125                 convert_outcome(instance->status),
    126                 ((instance->status >> TD_STATUS_ACTLEN_POS) + 1) & TD_STATUS_ACTLEN_MASK
    127         );
    128 }
    129118/**
    130119 * @}
Note: See TracChangeset for help on using the changeset viewer.