Unlink a node from whatever list it is in. Nodes that are not part of a list must not be passed to this function! Assembly programmers may prefer to use the REMOVE macro from "exec/lists.i".
WARNING
This function does not arbitrate for access to the list. The calling task must be the owner of the involved list.