Re: [PATCH][REVISED] add list_del_head[_init] functions

From: Arnaldo Carvalho de Melo
Date: Fri Nov 26 2004 - 20:24:06 EST


Tobias DiPasquale wrote:
Hi all,

I revised my earlier list_del_head patch and took Jens' suggestions.
There were two function additions:

list_del_head() - removes the head of a list and returns it
list_del_head_init() - removes the head of a list, reinitializes it
and returns it

I have also converted several obvious pieces of code in kernel/, net/
and mm/ to use these new functions. The patch for all of this is
attached. Thanks :)

Name: Add list_del_head[_init] functions for full queue API
Status: Tested (smoke tests, mostly)
Signed-off-by: Toby DiPasquale <codeslinger@xxxxxxxxx>

P.S. Again, please CC me on any replies as I'm not subscribed to LKML.
Thanks again :)


The net_rx_action one doesn't look right.

- Arnaldo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/