[master 8/11] Remove redundant block for adding fwraid member disks.

dwlehman installerbot-noreply at redhat.com
Tue Mar 17 20:07:35 UTC 2015


From: David Lehman <dlehman at redhat.com>

This can be handled from the normal addUdevDiskDevice path.
---
 blivet/populator.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/blivet/populator.py b/blivet/populator.py
index 4bdd00d..1d75424 100644
--- a/blivet/populator.py
+++ b/blivet/populator.py
@@ -751,13 +751,6 @@ def addUdevDevice(self, info):
         elif udev.device_is_cdrom(info):
             log.info("%s is a cdrom", name)
             device = self.addUdevOpticalDevice(info)
-        elif udev.device_is_biosraid_member(info) and udev.device_is_disk(info):
-            log.info("%s is part of a biosraid", name)
-            device = DiskDevice(name,
-                            major=udev.device_get_major(info),
-                            minor=udev.device_get_minor(info),
-                            sysfsPath=sysfs_path, exists=True)
-            self.devicetree._addDevice(device)
         elif udev.device_is_disk(info):
             device = self.addUdevDiskDevice(info)
         elif udev.device_is_partition(info):


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/25d876d63526045e194d05b1556055aeb2c13785


More information about the anaconda-patches mailing list