Re: [PATCH] More list_del_init cleanups

From: Dan Aloni (da-x@gmx.net)
Date: Sat Jun 08 2002 - 21:42:20 EST


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/



This archive was generated by hypermail 2b29 : Sat Jun 15 2002 - 22:00:13 EST