[blivet:master 05/14] Remove all references to mdMinor in current code base.

mulhern amulhern at redhat.com
Wed Jul 16 16:56:38 UTC 2014


It seems to have become obsolete a while ago and it does not
seem to be a value that can be obtained from mdexamine.

Signed-off-by: mulhern <amulhern at redhat.com>
---
 blivet/formats/mdraid.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/blivet/formats/mdraid.py b/blivet/formats/mdraid.py
index ea0c768..1f3152c 100644
--- a/blivet/formats/mdraid.py
+++ b/blivet/formats/mdraid.py
@@ -61,7 +61,6 @@ class MDRaidMember(DeviceFormat):
         log_method_call(self, **kwargs)
         DeviceFormat.__init__(self, **kwargs)
         self.mdUuid = kwargs.get("mdUuid")
-        self.raidMinor = None
 
         #self.probe()
         self.biosraid = kwargs.get("biosraid")
@@ -88,8 +87,6 @@ class MDRaidMember(DeviceFormat):
         info = mdraid.mdexamine(self.device)
         if self.uuid is None:
             self.uuid = info['uuid']
-        if self.raidMinor is None:
-            self.raidMinor = info['mdMinor']
 
     def destroy(self, **kwargs):
         """ Remove the formatting from the associated block device.
-- 
1.9.3



More information about the anaconda-patches mailing list