Changeset 40fd6f0 in mainline


Ignore:
Timestamp:
2017-12-05T16:03:20Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
223efc0, 2591a10, 8e00545d, b3536a0
Parents:
addbce4
git-author:
Jakub Jermar <jakub@…> (2017-12-05 12:08:32)
git-committer:
Jakub Jermar <jakub@…> (2017-12-05 16:03:20)
Message:

Remove dead code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/ipcp.c

    raddbce4 r40fd6f0  
    4444#include "ipcp.h"
    4545
    46 #define IPCP_CALLID_SYNC 0
    47 
    4846typedef struct {
    4947        sysarg_t phone_hash;
     
    145143                V_INTEGER,
    146144                V_INTEGER,
    147                 V_INTEGER               
     145                V_INTEGER
    148146        };
    149147
     
    323321        pending_call_t *pcall;
    324322       
    325         if ((call->flags & IPC_CALL_ANSWERED) == 0 &&
    326             hash != IPCP_CALLID_SYNC) {
     323        if ((call->flags & IPC_CALL_ANSWERED) == 0) {
    327324                /* Not a response */
    328325                if ((display_mask & DM_IPC) != 0) {
     
    347344}
    348345
    349 void ipcp_call_sync(int phone, ipc_call_t *call, ipc_call_t *answer)
    350 {
    351         ipcp_call_out(phone, call, IPCP_CALLID_SYNC);
    352         ipcp_call_in(answer, IPCP_CALLID_SYNC);
    353 }
    354 
    355346void ipcp_hangup(int phone, int rc)
    356347{
Note: See TracChangeset for help on using the changeset viewer.