lkml.org 
[lkml]   [2009]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc -tip] lib,rb-tree - introduce rb_for_each helper
[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


\
 
 \ /
  Last update: 2009-07-12 07:41    [W:0.037 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site