Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset b1f36e3 in mainline


Ignore:
Timestamp:
2017-11-23T23:18:01Z (4 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
503ffce
Parents:
7c0e1f5
Message:

Simplify ipc_call_async_fast()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/ipc.c

    r7c0e1f5 rb1f36e3  
    135135    sysarg_t arg2, sysarg_t arg3, void *private, ipc_async_callback_t callback)
    136136{
    137         async_call_t *call = NULL;
    138        
    139         if (callback) {
    140                 call = ipc_prepare_async(private, callback);
    141                 if (!call)
    142                         return;
    143         }
     137        async_call_t *call = ipc_prepare_async(private, callback);
     138        if (!call)
     139                return;
    144140       
    145141        ipc_callid_t callid = __SYSCALL6(SYS_IPC_CALL_ASYNC_FAST, phoneid,
Note: See TracChangeset for help on using the changeset viewer.