Changes in uspace/srv/ns/task.c [166a1f57:3e6a98c5] in mainline


Ignore:
File:
1 edited

Legend:

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

    r166a1f57 r3e6a98c5  
    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.