Re: [PATCH] More list_del_init cleanups

Linus Torvalds (torvalds@transmeta.com)
Sat, 8 Jun 2002 16:59:11 -0700 (PDT)


On Sat, 8 Jun 2002, Thunder from the hill wrote:
>
> 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();.

Hmm. Sounds like "list_move()" and "list_move_tail()" might be worthwhile.

That's assuming people actually _want_ something like that? Anybody
willing to do this, _and_ go through the maintainers of the appropriate
sub-systems?

Linus

-
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/