Changes in uspace/srv/ns/task.c [166a1f57:4e00f87] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/task.c

    r166a1f57 r4e00f87  
    3434#include <ipc/ipc.h>
    3535#include <adt/hash_table.h>
    36 #include <stdbool.h>
     36#include <bool.h>
    3737#include <errno.h>
    3838#include <assert.h>
     
    208208        sysarg_t retval;
    209209        task_exit_t texit;
    210         bool remove = false;
    211210       
    212211        ht_link_t *link = hash_table_find(&task_hash_table, &id);
     
    236235        }
    237236       
    238         remove = true;
     237        hash_table_remove_item(&task_hash_table, link);
    239238        retval = EOK;
    240239       
     
    244243                ipc_answer_2(callid, retval, texit, ht->retval);
    245244        }
    246         if (remove)
    247                 hash_table_remove_item(&task_hash_table, link);
    248245}
    249246
Note: See TracChangeset for help on using the changeset viewer.