Changeset 50b581d in mainline for uspace/lib/c/generic/device/nic.c


Ignore:
Timestamp:
2012-04-21T09:23:39Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d3a8e47
Parents:
0d520a2
Message:

Replace the async_wait_for(msg, NULL) pattern in the error paths with
async_forget(msg).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/device/nic.c

    r0d520a2 r50b581d  
    6565       
    6666        if (retval != EOK) {
    67                 async_wait_for(req, NULL);
     67                async_forget(req);
    6868                return retval;
    6969        }
     
    9494        rc = async_connect_to_me(exch, 0, 0, 0, cfun, carg);
    9595        if (rc != EOK) {
    96                 async_wait_for(req, NULL);
     96                async_forget(req);
    9797                return rc;
    9898        }
Note: See TracChangeset for help on using the changeset viewer.