Re: [rfc -tip] lib,rb-tree - introduce rb_for_each helper

From: Frederic Weisbecker
Date: Sat Jul 11 2009 - 18:32:46 EST


On Sun, Jul 12, 2009 at 12:29:30AM +0200, Frederic Weisbecker wrote:
> pos = rb_next(pos->memb, typeof(*pos), memb))

pos = rb_next(pos) would suffice :)

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