openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/dbus-broker/19-r0/dbus-broker-19/subprojects/c-list/src/c-list.h
static inline void c_list_unlink_stale(CList* what)
{
    CList *prev = what->prev, *next = what->next;

    next->prev = prev;
    prev->next = next;
}
/**
 * c_list_unlink_stale() - unlink element from list
 * @what:               element to unlink
 *
 * This unlinks @what. If @what was initialized via C_LIST_INIT(), it has no
 * effect. If @what was never linked, nor initialized, behavior is undefined.
 *
 * Note that this does not modify @what. It just modifies the previous and next
 * elements in the list to no longer reference @what. If you want to make sure
 * @what is re-initialized after removal, use c_list_unlink().
 */
unlink element from list
@what:               element to unlink

This unlinks @what. If @what was initialized via C_LIST_INIT(), it has no
effect. If @what was never linked, nor initialized, behavior is undefined.

Note that this does not modify @what. It just modifies the previous and next
elements in the list to no longer reference @what. If you want to make sure
@what is re-initialized after removal, use c_list_unlink().
unlink element from list @what : element to unlink This unlinks @what . If @what was initialized via C_LIST_INIT () it has no effect . If @what was never linked nor initialized behavior is undefined . Note that this does not modify @what . It just modifies the previous and next elements in the list to no longer reference @what . If you want to make sure @what is re - initialized after removal use c_list_unlink () .
static inline void c_list_unlink_stale(CList* what)
{
    CList *prev = what->prev, *next = what->next;
    next->prev = prev;
    prev->next = next;
}
static inline void c_list_unlink_stale ( CList * what ) { CList * prev = what -> prev , * next = what -> next ; next -> prev = prev ; prev -> next = next ; }
c_list_unlink_stale() - unlink element from list
 @what:               element to unlink
c_list_unlink_stale () - unlink element from list @what : element to unlink