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

Christoph Hellwig hch at infradead.org
Tue May 29 11:32:15 CEST 2012


On Tue, May 29, 2012 at 05:20:02PM +0800, Liu Yuan wrote:
> On 05/29/2012 05:16 PM, Liu Yuan wrote:
> 
> > It would be nice if you describe why they are dead code in the commit
> > log, otherwise I need more time to read the code.
> > 
> 
> 
> It seems to me not dead code. Why they are dead?

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.




More information about the sheepdog mailing list