Re: [PATCH] More list_del_init cleanups

Thunder from the hill (thunder@ngforever.de)
Sat, 8 Jun 2002 17:49:39 -0600 (MDT)


Hi,

On Sat, 8 Jun 2002, Linus Torvalds wrote:
> Ehh.. Am I the only one who thinks "move()" would make more sense than
> "del_add()"?
>
> How many such users are there? I don't want to make up new abstractions if
> they aren't widely used - it's not as if "del + add" is all that hard to
> understand in itself..

There are 57 uses of list_del(); list_add(); plus 1 use of
remove_parent(); add_parent().
There are 29 uses of list_del(); list_add_tail();.

Regards,
Thunder

-- 
ship is leaving right on time	|	Thunder from the hill at ngforever
empty harbour, wave goodbye	|
evacuation of the isle		|	free inhabitant not directly
caveman's paintings drowning	|	belonging anywhere

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