Re: [PATCH] More list_del_init cleanups

Dan Aloni (da-x@gmx.net)
Sun, 9 Jun 2002 05:42:20 +0300


On Sat, Jun 08, 2002 at 04:30:22PM -0700, Linus Torvalds wrote:
>
>
> On Sat, 8 Jun 2002, Dan Aloni wrote:
> >
> > If we are at it, how about replacing:
> >
> > list_del(&entry->list);
> > list_add(&entry->list, dispose);
> >
> > with something like:
> >
> > list_del_add(&entry->list, dispose);
>
> Ehh.. Am I the only one who thinks "move()" would make more sense than
> "del_add()"?

I was going to suggest list_move(), but then I thought about being
consistent with the func1_func2 convention as in list_del_init().

-- 
Dan Aloni
da-x@gmx.net
-
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/