[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH] Remove unused udev_parse_block_entry() function



This is a leftover from having our own udev db reading code.
---
 storage/udev.py |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/storage/udev.py b/storage/udev.py
index 2147aca..7ed7cc4 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -122,16 +122,6 @@ def udev_get_block_device(sysfs_path):
     else:
         return dev
 
-def udev_parse_block_entry(buf):
-    dev = udev_parse_entry(buf)
-
-    for (key, value) in dev.iteritems():
-        if value.count(" "):
-            # eg: DEVLINKS
-            dev.update({key: value.split()})
-
-    return dev
-
 
 # These are functions for retrieving specific pieces of information from
 # udev database entries.
-- 
1.6.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]