rem: list_del( &(link->lh) );
add: if (link->lh.next==0 || link->lh.prev==0) { LOG(L_WARN,"WARNING:remove_cell_from_htable: removing a cell already " "removed\n"); lock_release( table->mutex ); return -1; } list_del_zero( &(link->lh) );
context: void remove_cell_from_htable(struct h_table *table, struct h_link *link){	lock_get( table->mutex );	list_del( &(link->lh) );	lock_release( table->mutex );}