[blivet][PATCH] Remove an unused and outdated constant

David Lehman dlehman at redhat.com
Mon Jan 19 17:24:58 UTC 2015


On 01/19/2015 08:50 AM, Vratislav Podzimek wrote:
> LVM2 doesn't limit the number of LVs in any way and this constant isn't used
> anywhere in our code so just let's get rid of it.
>
> Signed-off-by: Vratislav Podzimek <vpodzime at redhat.com>
> ---
>   blivet/devicelibs/lvm.py | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/blivet/devicelibs/lvm.py b/blivet/devicelibs/lvm.py
> index ce576e2..6e4d27a 100644
> --- a/blivet/devicelibs/lvm.py
> +++ b/blivet/devicelibs/lvm.py
> @@ -34,8 +34,6 @@ from ..errors import LVMError
>   from ..i18n import _, N_
>   from ..flags import flags
>
> -MAX_LV_SLOTS = 256
> -
>   # some of lvm's defaults that we have no way to ask it for
>   LVM_PE_START = Size("1 MiB")
>   LVM_PE_SIZE = Size("4 MiB")
>

ACK


More information about the anaconda-patches mailing list