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

Vratislav Podzimek vpodzime at redhat.com
Mon Jan 19 14:50:50 UTC 2015


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")
-- 
2.1.0



More information about the anaconda-patches mailing list