def nl_list_del(obj):
    """https://github.com/thom311/libnl/blob/libnl3_2_25/include/netlink/list.h#L49.

    Positional arguments:
    obj -- nl_list_head class instance.
    """
    obj.next.prev = obj.prev
    obj.prev.next_ = obj.next_