Thanks Eric, Reviewed-by: Marek Olšák <[email protected]>
Marek On Mon, Jan 26, 2015 at 8:45 PM, Eric Anholt <[email protected]> wrote: > The idea is that after a remove_from_list(), you might want to be able to > do a remove_from_list() on it again or an is_empty_list(). This is > apparently relied on by r300g. > --- > src/util/simple_list.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/util/simple_list.h b/src/util/simple_list.h > index 903432d..65fe107 100644 > --- a/src/util/simple_list.h > +++ b/src/util/simple_list.h > @@ -55,6 +55,7 @@ struct simple_node { > do { \ > (elem)->next->prev = (elem)->prev; \ > (elem)->prev->next = (elem)->next; \ > + make_empty_list(elem) \ > } while (0) > > /** > -- > 2.1.4 > > _______________________________________________ > mesa-dev mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/mesa-dev _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
