Re: [PATCH] resource: Remove a useless iteration

2011-01-10 Thread Daniel Stone
On Mon, Jan 10, 2011 at 12:44:23PM -0500, Adam Jackson wrote: v2: More aggressive loop rewrite pointed out by Daniel. Sorry, I should've mentioned this the first time -- only realised after I sent the mail -- but: +for (i = 0; i clientTable[client].buckets; i++) { + res =

Re: [PATCH] resource: Remove a useless iteration

2011-01-10 Thread Adam Jackson
On Mon, 2011-01-10 at 17:49 +, Daniel Stone wrote: On Mon, Jan 10, 2011 at 12:44:23PM -0500, Adam Jackson wrote: v2: More aggressive loop rewrite pointed out by Daniel. Sorry, I should've mentioned this the first time -- only realised after I sent the mail -- but: +for (i = 0; i