Re: [PATCH 0/2] introduce list_for_each_entry_del

From: Christoph Hellwig
Date: Mon Jun 03 2013 - 16:49:36 EST

I can't say I like the structure.

A list_pop that removes and entry from the head or returns NULL if the
list is empty would lead to nice while loops that are obviously
readable instead.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at