[sheepdog] [PATCH 1/5] sheep: remove dead code in get_cluster_status

Liu Yuan namei.unix at gmail.com
Tue May 29 11:36:33 CEST 2012


On 05/29/2012 05:32 PM, Christoph Hellwig wrote:

> The only variables written to in the loop are i and j, but they are
> never used outside the loop.
> 
> but it actually seems like I was too eager about consolidating the
> status updates, I'll send a version fixing that part.


Actually this loops is very old code that I seem to fail to understand
it when I refactored some code around it last time and I simply copied it.

Thanks,
Yuan



More information about the sheepdog mailing list