Changeset 077dad2 in mainline


Ignore:
Timestamp:
2012-08-20T23:30:31Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
664fc031
Parents:
6560960
Message:

rtc: fix double wait for IPC answers in clock_dev.c, use async_forget()

File:
1 edited

Legend:

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

    r6560960 r077dad2  
    6262        sysarg_t rc;
    6363        if (ret != EOK) {
    64                 async_wait_for(req, &rc);
    65                 if (rc == EOK)
    66                         return ret;
     64                async_forget(req);
     65                return ret;
    6766        }
    6867
     
    9493        sysarg_t rc;
    9594        if (ret != EOK) {
    96                 async_wait_for(req, &rc);
    97                 if (rc == EOK)
    98                         return ret;
     95                async_forget(req);
     96                return ret;
    9997        }
    10098
Note: See TracChangeset for help on using the changeset viewer.