summaryrefslogtreecommitdiffstats
path: root/storage/udev.py
diff options
context:
space:
mode:
Diffstat (limited to 'storage/udev.py')
-rw-r--r--storage/udev.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/udev.py b/storage/udev.py
index aa2f7d98a..7571baf9f 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -218,10 +218,6 @@ def udev_device_is_dm(info):
""" Return True if the device is a device-mapper device. """
return info.has_key("DM_NAME")
-def udev_device_is_md_container(info):
- """ Return True if the device is a mdraid container device. """
- return info.get("MD_LEVEL") == "container"
-
def udev_device_is_md(info):
""" Return True if the device is a mdraid array device. """
return info.has_key("MD_DEVNAME") and \