next->pprev = pprev;
}
+static inline void hlist_safe_del(struct hlist_node *n)
+{
+ struct hlist_node *next = n->next;
+ struct hlist_node **pprev = n->pprev;
+ if (pprev)
+ *pprev = next;
+ if (next)
+ next->pprev = pprev;
+}
+
static inline void hlist_add_head(struct hlist_node *n, struct hlist_head *h)
{
struct hlist_node *first = h->first;