[lvm-devel] [PATCH 05/23] Remove dead assignment in vgconvert_single

Alasdair G Kergon agk at redhat.com
Wed Jan 5 01:11:49 UTC 2011


On Tue, Dec 21, 2010 at 04:41:37PM +0100, Zdenek Kabelac wrote:
> 'pe_end' is not used - remove it.
 
>  		pe_start = pv_pe_start(existing_pv);
> -		pe_end = pv_pe_count(existing_pv) * pv_pe_size(existing_pv)
> -		    + pe_start - 1;

Please retain that formula in a comment instead.

Alasdair




More information about the lvm-devel mailing list