Changeset cb819f9 in mainline


Ignore:
Timestamp:
2010-11-24T19:18:13Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c646ea0, eb667613
Parents:
475fe35
Message:

When using async framework, we already know the call is not a notification,
so there is no need to test it explicitly.

Location:
uspace
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/driver.c

    r475fe35 rcb819f9  
    203203                        break;
    204204                default:
    205                         if (!(callid & IPC_CALLID_NOTIFICATION))
    206                                 ipc_answer_0(callid, ENOENT);
     205                        ipc_answer_0(callid, ENOENT);
    207206                }
    208207        }
  • uspace/srv/clip/clip.c

    r475fe35 rcb819f9  
    172172                        break;
    173173                default:
    174                         if (!(callid & IPC_CALLID_NOTIFICATION))
    175                                 ipc_answer_0(callid, ENOENT);
     174                        ipc_answer_0(callid, ENOENT);
    176175                }
    177176        }
  • uspace/srv/devman/main.c

    r475fe35 rcb819f9  
    405405                        break;
    406406                default:
    407                         if (!(callid & IPC_CALLID_NOTIFICATION))
    408                                 ipc_answer_0(callid, ENOENT);
     407                        ipc_answer_0(callid, ENOENT);
    409408                }
    410409        }
  • uspace/srv/devmap/devmap.c

    r475fe35 rcb819f9  
    10521052                        break;
    10531053                default:
    1054                         if (!(callid & IPC_CALLID_NOTIFICATION))
    1055                                 ipc_answer_0(callid, ENOENT);
     1054                        ipc_answer_0(callid, ENOENT);
    10561055                }
    10571056        }
     
    11111110                        break;
    11121111                default:
    1113                         if (!(callid & IPC_CALLID_NOTIFICATION))
    1114                                 ipc_answer_0(callid, ENOENT);
     1112                        ipc_answer_0(callid, ENOENT);
    11151113                }
    11161114        }
  • uspace/srv/loader/main.c

    r475fe35 rcb819f9  
    411411                        break;
    412412                }
    413                 if ((callid & IPC_CALLID_NOTIFICATION) == 0 &&
    414                     IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) {
     413                if (IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) {
    415414                        DPRINTF("Responding EINVAL to method %d.\n",
    416415                            IPC_GET_METHOD(call));
Note: See TracChangeset for help on using the changeset viewer.