Changeset feeac0d in mainline for uspace/lib/usbdev/src/recognise.c


Ignore:
Timestamp:
2013-09-10T16:32:35Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4982d87
Parents:
e8d6ce2
Message:

Simplify use of list_foreach.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/recognise.c

    re8d6ce2 rfeeac0d  
    383383                goto failure;
    384384       
    385         list_foreach(match_ids.ids, id_link) {
    386                 match_id_t *match_id = list_get_instance(id_link, match_id_t, link);
     385        list_foreach(match_ids.ids, link, match_id_t, match_id) {
    387386                rc = ddf_fun_add_match_id(child, match_id->id, match_id->score);
    388387                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.