Changeset c46c356 in mainline for uspace/drv/bus/usb/xhci/commands.c
- Timestamp:
- 2017-07-23T19:23:52Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2e7692f
- Parents:
- e50bdd92
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/commands.c
re50bdd92 rc46c356 50 50 list_initialize(&hc->commands); 51 51 return EOK; 52 } 53 54 void xhci_fini_commands(xhci_hc_t *hc) 55 { 56 // Note: Untested. 57 assert(hc); 58 59 // We assume that the hc is dying/stopping, so we ignore 60 // the ownership of the commands. 61 list_foreach(hc->commands, link, xhci_cmd_t, cmd) { 62 xhci_free_command(cmd); 63 } 52 64 } 53 65
Note:
See TracChangeset
for help on using the changeset viewer.