Changeset e259d95 in mainline
- Timestamp:
- 2011-03-02T00:02:26Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0588062e, c7a2e7e
- Parents:
- da3965e
- Location:
- uspace/lib/usb
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hidparser.c
rda3965e re259d95 525 525 { 526 526 return; 527 /*527 528 528 usb_hid_report_item_t *report_item; 529 link_t * item;529 link_t *next; 530 530 531 531 if(head == NULL || list_empty(head)) { 532 532 return; 533 533 } 534 535 next = head->next; 536 while(next != head) { 537 538 report_item = list_get_instance(next, usb_hid_report_item_t, link); 539 next = next->next; 534 540 535 for(item = head->next; item != head; item = item->next) { 536 list_remove(item); 537 free(list_get_instance(item,usb_hid_report_item_t, link)); 538 } 539 541 free(report_item); 542 } 543 540 544 return; 541 */545 542 546 } 543 547
Note:
See TracChangeset
for help on using the changeset viewer.