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

From: Cyrill Gorcunov
Date: Sun Jul 12 2009 - 01:39:28 EST


[Frederic Weisbecker - Sun, Jul 12, 2009 at 12:32:33AM +0200]
| 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 :)
|

Hi Frederic,

mind to pick the patch up and complete it with
rb_for_each_entry as well? ;)

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